From 179c0d33f8156b3106e883f9c4a72da0fbd53a14 Mon Sep 17 00:00:00 2001 From: David Hyde Date: Sun, 24 Feb 2019 16:19:10 -0800 Subject: [PATCH] make context command singular, with no aliases (#81) --- command/config/context.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/command/config/context.go b/command/config/context.go index 1704c09e..a2661c24 100644 --- a/command/config/context.go +++ b/command/config/context.go @@ -19,9 +19,8 @@ type contextCommand struct { func NewContext(config *shared.Config) *cobra.Command { cmd := &contextCommand{ Command: &cobra.Command{ - Use: "contexts", - Short: "Manage config contexts.", - Aliases: []string{"context"}, + Use: "context", + Short: "Manage config contexts.", }, config: config, }