From 09dcec57fb6a2956b815efbd448afea75529a29a Mon Sep 17 00:00:00 2001 From: Clayton Coleman Date: Sat, 21 Feb 2015 18:17:52 -0500 Subject: [PATCH] 'svc' is a much clearer shorthand for "Service" than "se" --- pkg/kubectl/kubectl.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkg/kubectl/kubectl.go b/pkg/kubectl/kubectl.go index 64fb136b41b..b2b5e74bbee 100644 --- a/pkg/kubectl/kubectl.go +++ b/pkg/kubectl/kubectl.go @@ -85,9 +85,11 @@ func (e ShortcutExpander) VersionAndKindForResource(resource string) (defaultVer // indeed a shortcut. Otherwise, will return resource unmodified. func expandResourceShortcut(resource string) string { shortForms := map[string]string{ - "po": "pods", - "rc": "replicationcontrollers", + "po": "pods", + "rc": "replicationcontrollers", + // DEPRECATED: will be removed before 1.0 "se": "services", + "svc": "services", "mi": "minions", "ev": "events", "limits": "limitRanges",