summaryrefslogtreecommitdiff
path: root/src/systemctl/systemctl.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-09-12 08:56:57 +0200
committerLennart Poettering <lennart@poettering.net>2012-09-12 08:56:57 +0200
commitbb3241614a1a3a3ef68329dadc56e8fec090ff64 (patch)
tree84c18a26ef0f06ddfe8072921e8a349a9c28fa36 /src/systemctl/systemctl.c
parentd4e9eb91ea12e11bff7d8c6265b067a20ccf37b8 (diff)
systemctl: direct the user to list-unit-files from the list-units output
Diffstat (limited to 'src/systemctl/systemctl.c')
-rw-r--r--src/systemctl/systemctl.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index 5102c8ee58..55202c7ce0 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -425,9 +425,11 @@ static void output_units_list(const struct unit_info *unit_infos, unsigned c) {
"JOB = Pending job for the unit.\n");
if (arg_all)
- printf("\n%u units listed.\n", n_shown);
+ printf("\n%u loaded units listed.\n"
+ "To show all installed unit files use 'systemctl list-unit-files'.\n", n_shown);
else
- printf("\n%u units listed. Pass --all to see inactive units, too.\n", n_shown);
+ printf("\n%u loaded units listed. Pass --all to see loaded but inactive units, too.\n"
+ "To show all installed unit files use 'systemctl list-unit-files'.\n", n_shown);
}
}