From 4e2fc81edd9ca5fa4a96f874ec669af5737b4999 Mon Sep 17 00:00:00 2001 From: Maksym Pavlenko Date: Wed, 10 Jul 2019 12:10:14 -0700 Subject: [PATCH] Add aliases to namespaces subcommand Signed-off-by: Maksym Pavlenko --- cmd/ctr/commands/namespaces/namespaces.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/ctr/commands/namespaces/namespaces.go b/cmd/ctr/commands/namespaces/namespaces.go index 81ce3dc0a..93455b14c 100644 --- a/cmd/ctr/commands/namespaces/namespaces.go +++ b/cmd/ctr/commands/namespaces/namespaces.go @@ -33,7 +33,7 @@ import ( // Command is the cli command for managing namespaces var Command = cli.Command{ Name: "namespaces", - Aliases: []string{"namespace"}, + Aliases: []string{"namespace", "ns"}, Usage: "manage namespaces", Subcommands: cli.Commands{ createCommand, @@ -45,6 +45,7 @@ var Command = cli.Command{ var createCommand = cli.Command{ Name: "create", + Aliases: []string{"c"}, Usage: "create a new namespace", ArgsUsage: " [=