teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

Blame SOURCES/0056-shell-completion-remove-load-from-systemctl.patch

65878a
From 9e658a10c1de26c8b4a18a7e55440bb8bd819f20 Mon Sep 17 00:00:00 2001
65878a
From: Lukas Nykryn <lnykryn@redhat.com>
65878a
Date: Wed, 15 Jan 2014 15:31:07 +0100
65878a
Subject: [PATCH] shell-completion: remove load from systemctl
65878a
65878a
Conflicts:
65878a
	shell-completion/bash/systemctl
65878a
---
65878a
 shell-completion/bash/systemctl | 2 +-
65878a
 shell-completion/zsh/_systemctl | 3 +--
65878a
 2 files changed, 2 insertions(+), 3 deletions(-)
65878a
65878a
diff --git a/shell-completion/bash/systemctl b/shell-completion/bash/systemctl
65878a
index eea4b6d..84149e3 100644
65878a
--- a/shell-completion/bash/systemctl
65878a
+++ b/shell-completion/bash/systemctl
65878a
@@ -141,7 +141,7 @@ _systemctl () {
65878a
                              emergency exit halt hibernate hybrid-sleep kexec list-jobs
65878a
                              list-sockets list-units list-unit-files poweroff reboot rescue
65878a
                              show-environment suspend get-default'
65878a
-                     [NAME]='snapshot load'
65878a
+                     [NAME]='snapshot'
65878a
                      [FILE]='link'
65878a
                   [TARGETS]='set-default'
65878a
         )
65878a
diff --git a/shell-completion/zsh/_systemctl b/shell-completion/zsh/_systemctl
65878a
index 3959cd5..6d98cb6 100644
65878a
--- a/shell-completion/zsh/_systemctl
65878a
+++ b/shell-completion/zsh/_systemctl
65878a
@@ -24,7 +24,6 @@
65878a
     "status:Show runtime status of one or more units"
65878a
     "show:Show properties of one or more units/jobs or the manager"
65878a
     "reset-failed:Reset failed state for all, one, or more units"
65878a
-    "load:Load one or more units"
65878a
     "list-unit-files:List installed unit files"
65878a
     "enable:Enable one or more unit files"
65878a
     "disable:Disable one or more unit files"
65878a
@@ -266,7 +265,7 @@ done
65878a
 #    [STANDALONE]='daemon-reexec daemon-reload default
65878a
 #                  emergency exit halt kexec list-jobs list-units
65878a
 #                  list-unit-files poweroff reboot rescue show-environment'
65878a
-#         [NAME]='snapshot load'
65878a
+#         [NAME]='snapshot'
65878a
 
65878a
 _systemctl_caching_policy()
65878a
 {