anitazha / rpms / systemd

Forked from rpms/systemd 3 years ago
Clone

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

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