summaryrefslogtreecommitdiff
path: root/shell-completion/bash/systemctl.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-01-28 18:57:04 +0100
committerLennart Poettering <lennart@poettering.net>2016-01-28 18:57:04 +0100
commitaabf5d42434082ae4e2d0c98d4705f58ee707567 (patch)
tree797980331963fdb87e098d3f8e336a1b4bd2d289 /shell-completion/bash/systemctl.in
parent42f729c15e880fa2cff225ff9937c475e10493d9 (diff)
systemctl: rename "reload-or-try-restart" verb to "try-reload-or-restart"
But also keep the old name as (undocumented) compatibility around. The reload-or-try-restart was documented to be a NOP if the unit is not running, since the previous commits this is also implemented. The old name suggests that the "try" logic only applies to restarting. Fix this, by moving the "try-" to the front, to indicate that the whole option is a NOP if the service isn't running.
Diffstat (limited to 'shell-completion/bash/systemctl.in')
-rw-r--r--shell-completion/bash/systemctl.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell-completion/bash/systemctl.in b/shell-completion/bash/systemctl.in
index 6ffab33e45..ef7dc6285a 100644
--- a/shell-completion/bash/systemctl.in
+++ b/shell-completion/bash/systemctl.in
@@ -170,7 +170,7 @@ _systemctl () {
[STARTABLE_UNITS]='start'
[STOPPABLE_UNITS]='stop condstop kill try-restart condrestart'
[ISOLATABLE_UNITS]='isolate'
- [RELOADABLE_UNITS]='reload condreload reload-or-try-restart force-reload'
+ [RELOADABLE_UNITS]='reload condreload try-reload-or-restart force-reload'
[RESTARTABLE_UNITS]='restart reload-or-restart'
[TARGET_AND_UNITS]='add-wants add-requires'
[MASKED_UNITS]='unmask'