chiark / gitweb /
systemctl: let list-{units,unit-files } honour --type
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 30 Oct 2014 02:46:30 +0000 (22:46 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 30 Oct 2014 03:48:10 +0000 (23:48 -0400)
commit6c71341aeecc3d092ed90f66e1b2c481b8e260ff
tree5eba5de46fc7686e9994749b83aff4799368e427
parent9ff8af5460d57dfab78a1137ec743b539715e82a
systemctl: let list-{units,unit-files } honour --type

The docs don't clarify what is expected, but I don't see any reason
why --type should be ignored.

Also restucture the compund conditions into separate clauses for
easier reading.
src/systemctl/systemctl.c