From 4218f81d83318019fbc898c60907da23a523b70d Mon Sep 17 00:00:00 2001 From: Elias Probst Date: Fri, 10 Jun 2022 21:15:11 +0200 Subject: [PATCH] systemctl: add `edit` verb to arguments' help text The arguments `--global`, `--runtime` and `--root` also affect the `edit` verb. --- src/systemctl/systemctl.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index d1cb4b70033..003d2f0c25d 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" -- 2.47.3