]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
systemctl: add `edit` verb to arguments' help text
authorElias Probst <mail@eliasprobst.eu>
Fri, 10 Jun 2022 19:15:11 +0000 (21:15 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 10 Jun 2022 19:43:42 +0000 (04:43 +0900)
The arguments `--global`, `--runtime` and `--root` also affect the
`edit` verb.

src/systemctl/systemctl.c

index d1cb4b70033a05ed5c0a565f6d7ae292de29ad7c..003d2f0c25d6a51a37dceb03435882492d67ba78 100644 (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"