diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-09-12 08:56:57 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-09-12 08:56:57 +0200 |
commit | bb3241614a1a3a3ef68329dadc56e8fec090ff64 (patch) | |
tree | 84c18a26ef0f06ddfe8072921e8a349a9c28fa36 /src | |
parent | d4e9eb91ea12e11bff7d8c6265b067a20ccf37b8 (diff) |
systemctl: direct the user to list-unit-files from the list-units output
Diffstat (limited to 'src')
-rw-r--r-- | src/systemctl/systemctl.c | 6 |
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); } } |