mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-26 05:35:21 +07:00
systemctl: direct the user to list-unit-files from the list-units output
This commit is contained in:
parent
d4e9eb91ea
commit
bb3241614a
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user