teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

Blame SOURCES/0440-bash-completion-add-support-for-now-5155.patch

a19bc6
From 88cc61d44a1567fd81e073defa01fc351051fec5 Mon Sep 17 00:00:00 2001
a19bc6
From: Jan Synacek <jan.synacek@gmail.com>
a19bc6
Date: Wed, 25 Jan 2017 13:44:04 +0100
a19bc6
Subject: [PATCH] bash-completion: add support for --now (#5155)
a19bc6
a19bc6
(cherry picked from commit 0067c7b29ab996bf99cf1bafe63c118b9b6d5b56)
a19bc6
Resolves: #1351806
a19bc6
---
a19bc6
 shell-completion/bash/systemctl.in | 2 +-
a19bc6
 1 file changed, 1 insertion(+), 1 deletion(-)
a19bc6
a19bc6
diff --git a/shell-completion/bash/systemctl.in b/shell-completion/bash/systemctl.in
181b3f
index 0a022c4cf..a1dde32c3 100644
a19bc6
--- a/shell-completion/bash/systemctl.in
a19bc6
+++ b/shell-completion/bash/systemctl.in
a19bc6
@@ -91,7 +91,7 @@ _systemctl () {
a19bc6
 
a19bc6
         local -A OPTS=(
a19bc6
                [STANDALONE]='--all -a --reverse --after --before --defaults --fail --ignore-dependencies --failed --force -f --full -l --global
a19bc6
-                             --help -h --no-ask-password --no-block --no-legend --no-pager --no-reload --no-wall
a19bc6
+                             --help -h --no-ask-password --no-block --no-legend --no-pager --no-reload --no-wall --now
a19bc6
                              --quiet -q --privileged -P --system --version --runtime --recursive -r'
a19bc6
                       [ARG]='--host -H --kill-who --property -p --signal -s --type -t --state --root'
a19bc6
         )