teknoraver / rpms / systemd

Forked from rpms/systemd 3 months ago
Clone

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

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