]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/systemctl/systemctl.c
systemctl: add --state=help
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 28 Sep 2015 17:29:03 +0000 (13:29 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 28 Sep 2015 19:09:34 +0000 (15:09 -0400)
commite16972e6265d5e9326ec21d7e90f715989f96548
tree79fc657ed7cde9e80487ebd47c13f755dd4bad42
parent978c8b6347d61f5a792886ef1875a4df625fd65f
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
src/systemctl/systemctl.c