chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d4e9eb9
)
systemctl: direct the user to list-unit-files from the list-units output
author
Lennart Poettering
<lennart@poettering.net>
Wed, 12 Sep 2012 06:56:57 +0000
(08:56 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 12 Sep 2012 06:56:57 +0000
(08:56 +0200)
src/systemctl/systemctl.c
patch
|
blob
|
history
diff --git
a/src/systemctl/systemctl.c
b/src/systemctl/systemctl.c
index 5102c8ee58562cda88c322afc48083e73e346d13..55202c7ce0331e182bd20267f0fb626348b6c9ee 100644
(file)
--- 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);
}
}