anitazha / rpms / systemd

Forked from rpms/systemd 3 years ago
Clone
Blob Blame History Raw
From 9e658a10c1de26c8b4a18a7e55440bb8bd819f20 Mon Sep 17 00:00:00 2001
From: Lukas Nykryn <lnykryn@redhat.com>
Date: Wed, 15 Jan 2014 15:31:07 +0100
Subject: [PATCH] shell-completion: remove load from systemctl

Conflicts:
	shell-completion/bash/systemctl
---
 shell-completion/bash/systemctl | 2 +-
 shell-completion/zsh/_systemctl | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/shell-completion/bash/systemctl b/shell-completion/bash/systemctl
index eea4b6d..84149e3 100644
--- a/shell-completion/bash/systemctl
+++ b/shell-completion/bash/systemctl
@@ -141,7 +141,7 @@ _systemctl () {
                              emergency exit halt hibernate hybrid-sleep kexec list-jobs
                              list-sockets list-units list-unit-files poweroff reboot rescue
                              show-environment suspend get-default'
-                     [NAME]='snapshot load'
+                     [NAME]='snapshot'
                      [FILE]='link'
                   [TARGETS]='set-default'
         )
diff --git a/shell-completion/zsh/_systemctl b/shell-completion/zsh/_systemctl
index 3959cd5..6d98cb6 100644
--- a/shell-completion/zsh/_systemctl
+++ b/shell-completion/zsh/_systemctl
@@ -24,7 +24,6 @@
     "status:Show runtime status of one or more units"
     "show:Show properties of one or more units/jobs or the manager"
     "reset-failed:Reset failed state for all, one, or more units"
-    "load:Load one or more units"
     "list-unit-files:List installed unit files"
     "enable:Enable one or more unit files"
     "disable:Disable one or more unit files"
@@ -266,7 +265,7 @@ done
 #    [STANDALONE]='daemon-reexec daemon-reload default
 #                  emergency exit halt kexec list-jobs list-units
 #                  list-unit-files poweroff reboot rescue show-environment'
-#         [NAME]='snapshot load'
+#         [NAME]='snapshot'
 
 _systemctl_caching_policy()
 {