anitazha / rpms / systemd

Forked from rpms/systemd 3 years ago
Clone

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

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