summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-04-10 12:32:27 +0200
committerHarald Hoyer <harald@redhat.com>2013-04-17 09:23:09 +0200
commit87698625aaf08ab2411a54a4ac9878acd4b46772 (patch)
treeec6a01447ef994bd232eee45753b366669cc4136 /src
parentb9e405246e2f3b7149ef1f9924806441d17f004a (diff)
systemctl: clarify usage of "--all" versus list-unit-files
Novice users might think, that $ systemctl --all is equal to $ systemctl list-unit-files https://bugzilla.redhat.com/show_bug.cgi?id=748512
Diffstat (limited to 'src')
-rw-r--r--src/systemctl/systemctl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index 2f43052f9a..b738a6d1d7 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -4488,7 +4488,9 @@ static int systemctl_help(void) {
" --version Show package version\n"
" -t --type=TYPE List only units of a particular type\n"
" -p --property=NAME Show only properties by this name\n"
- " -a --all Show all units/properties, including dead/empty ones\n"
+ " -a --all Show all internally loaded units/properties,\n"
+ " including dead/empty ones. To list all units installed\n"
+ " on disk, use the command 'list-unit-files' instead.\n"
" --failed Show only failed units\n"
" --full Don't ellipsize unit names on output\n"
" --fail When queueing a new job, fail if conflicting jobs are\n"