dcavalca / rpms / systemd

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