]> git.ipfire.org Git - thirdparty/systemd.git/commit
systemctl: no need to pass --all if inactive is explicitly requested in list-units 2886/head
authorFranck Bui <fbui@suse.com>
Wed, 23 Mar 2016 06:47:00 +0000 (07:47 +0100)
committerFranck Bui <fbui@suse.com>
Wed, 23 Mar 2016 07:36:05 +0000 (08:36 +0100)
commitebc962656cee33e3e8395f456a8208c3ca41969c
treee168d612855e5a9970a31318cebf7bc1cc8d5a09
parentc41d3b3a0ca1c53cbf05563f00bcef72db58d9b0
systemctl: no need to pass --all if inactive is explicitly requested in list-units

If list-units command is explicitly asked to show inactive units
by using '--state=inactive' option, there's no need to force the user
to pass '--all' option to include inactive units in the search in
this case.
src/systemctl/systemctl.c