Commit bb324161 authored by Lennart Poettering's avatar Lennart Poettering

systemctl: direct the user to list-unit-files from the list-units output

parent d4e9eb91
......@@ -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);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment