From: Lennart Poettering Date: Wed, 12 Sep 2012 06:56:57 +0000 (+0200) Subject: systemctl: direct the user to list-unit-files from the list-units output X-Git-Tag: v190~122 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=bb3241614a1a3a3ef68329dadc56e8fec090ff64;hp=d4e9eb91ea12e11bff7d8c6265b067a20ccf37b8 systemctl: direct the user to list-unit-files from the list-units output --- diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 5102c8ee5..55202c7ce 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); } }