summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornerdopolis <bluescreen_avenger@verizon.net>2021-06-09 09:00:02 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-07-20 17:51:50 +0200
commitaed5fb1dc7688bb1cc24d9845140782bcf554ba5 (patch)
tree15529da7a9eb7276acd3d7ae9b37c17e9baaf3e6
parent0f110a75efb789d131ec96cbc4967b7fb1b1d628 (diff)
downloadsystemd-aed5fb1dc7688bb1cc24d9845140782bcf554ba5.tar.gz
Clarify help information for --global
(cherry picked from commit 3c3335c7146a43137c46acfa18417cca101cb088) (cherry picked from commit 12600fdc423c0d06906204795230314d5dbfde82)
-rw-r--r--shell-completion/zsh/_systemctl.in2
-rw-r--r--src/systemctl/systemctl.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/shell-completion/zsh/_systemctl.in b/shell-completion/zsh/_systemctl.in
index 22c40898e3..7350f658a7 100644
--- a/shell-completion/zsh/_systemctl.in
+++ b/shell-completion/zsh/_systemctl.in
@@ -468,7 +468,7 @@ _arguments -s \
'--system[Connect to system manager]' \
'--user[Connect to user service manager]' \
"--no-wall[Don't send wall message before halt/power-off/reboot]" \
- '--global[Enable/disable/mask unit files globally]' \
+ '--global[Enable/disable/mask default user unit files globally]' \
"--no-reload[When enabling/disabling unit files, don't reload daemon configuration]" \
'--no-ask-password[Do not ask for system passwords]' \
'--kill-who=[Who to send signal to]:killwho:(main control all)' \
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index d002d933ae..2fcd8657ad 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -259,7 +259,7 @@ static int systemctl_help(void) {
" --no-legend Do not print a 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 unit files globally\n"
+ " --global Enable/disable/mask default user unit files globally\n"
" --runtime Enable/disable/mask unit files temporarily until next\n"
" reboot\n"
" -f --force When enabling unit files, override existing symlinks\n"