1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-10 16:58:28 +03:00

systemctl: add edit verb to arguments' help text

The arguments `--global`, `--runtime` and `--root` also affect the
`edit` verb.
This commit is contained in:
Elias Probst 2022-06-10 21:15:11 +02:00 committed by Yu Watanabe
parent 3e808e0769
commit 4218f81d83

View File

@ -277,14 +277,15 @@ static int systemctl_help(void) {
" --legend=BOOL Enable/disable the legend (column headers and hints)\n"
" --no-pager Do not pipe output into a pager\n"
" --no-ask-password Do not ask for system passwords\n"
" --global Enable/disable/mask default user unit files globally\n"
" --runtime Enable/disable/mask unit files temporarily until next\n"
" reboot\n"
" --global Edit/enable/disable/mask default user unit files\n"
" globally\n"
" --runtime Edit/enable/disable/mask unit files temporarily until\n"
" next reboot\n"
" -f --force When enabling unit files, override existing symlinks\n"
" When shutting down, execute action immediately\n"
" --preset-mode= Apply only enable, only disable, or all presets\n"
" --root=PATH Enable/disable/mask unit files in the specified root\n"
" directory\n"
" --root=PATH Edit/enable/disable/mask unit files in the specified\n"
" root directory\n"
" -n --lines=INTEGER Number of journal entries to show\n"
" -o --output=STRING Change journal output mode (short, short-precise,\n"
" short-iso, short-iso-precise, short-full,\n"