From e16972e6265d5e9326ec21d7e90f715989f96548 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Mon, 28 Sep 2015 13:29:03 -0400 Subject: systemctl: add --state=help This mirrors --type=help and simplifies completion scripts. The array of states is dense, so the is no need to check if the string is null. --- man/systemctl.xml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'man') diff --git a/man/systemctl.xml b/man/systemctl.xml index c1359d1678..e8cd47339c 100644 --- a/man/systemctl.xml +++ b/man/systemctl.xml @@ -101,10 +101,14 @@ - The argument should be a comma-separated list of unit - LOAD, SUB, or ACTIVE states. When listing units, show only - those in specified states. Use - to show only failed units. + The argument should be a comma-separated list of unit + LOAD, SUB, or ACTIVE states. When listing units, show only + those in specified states. Use + 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.3-54-g00ecf