From 372997694446f26ffdedc95a14278cd5b3d2b73d Mon Sep 17 00:00:00 2001 From: Mike Yuan Date: Fri, 13 Jan 2023 16:52:29 +0800 Subject: systemctl: list-dependencies: support --type= and --state= Closes #25975 --- man/systemctl.xml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'man/systemctl.xml') diff --git a/man/systemctl.xml b/man/systemctl.xml index bd64e430c3..04b2e9813d 100644 --- a/man/systemctl.xml +++ b/man/systemctl.xml @@ -354,6 +354,10 @@ Jan 12 10:46:45 example.com bluetoothd[8900]: gatt-time-server: Input/output err dependencies. If no units are specified, default.target is implied. + The units that are shown are additionally filtered by and + if those options are specified. Note that we won't be able to + use a tree structure in this case, so is implied. + By default, only target units are recursively expanded. When is passed, all other units are recursively expanded as well. @@ -1657,8 +1661,8 @@ Jan 12 10:46:45 example.com bluetoothd[8900]: gatt-time-server: Input/output err The argument is a comma-separated list of unit types such as and . When units are listed with list-units, - show, or status, only units of the specified types will be - shown. By default, units of all types are shown. + list-dependencies, show, or status, + only units of the specified types will be shown. By default, units of all types are shown. As a special case, if one of the arguments is , a list of allowed values will be printed and the program will exit. @@ -1670,9 +1674,9 @@ Jan 12 10:46:45 example.com bluetoothd[8900]: gatt-time-server: Input/output err The argument is a comma-separated list of unit LOAD, SUB, or ACTIVE states. When listing - units with list-units, show, or status, - show only those in the specified states. Use or - to show only failed units. + units with list-units, list-dependencies, show + or status, show only those in the specified states. Use + or to show only failed units. As a special case, if one of the arguments is , a list of allowed values will be printed and the program will exit. -- cgit v1.2.1