summaryrefslogtreecommitdiffstats
path: root/src/systemctl/systemctl.c
diff options
context:
space:
mode:
authorElias Probst <mail@eliasprobst.eu>2022-06-10 21:15:11 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-06-10 21:43:42 +0200
commit4218f81d83318019fbc898c60907da23a523b70d (patch)
tree51e7a7bd47fb8a635a3945c0637a4d056043ac5d /src/systemctl/systemctl.c
parentMerge pull request #23701 from medhefgo/boot-mem (diff)
downloadsystemd-4218f81d83318019fbc898c60907da23a523b70d.tar.xz
systemd-4218f81d83318019fbc898c60907da23a523b70d.zip
systemctl: add `edit` verb to arguments' help text
The arguments `--global`, `--runtime` and `--root` also affect the `edit` verb.
Diffstat (limited to 'src/systemctl/systemctl.c')
-rw-r--r--src/systemctl/systemctl.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index d1cb4b7003..003d2f0c25 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -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"