Skip to content

Commit

Permalink
Merge pull request #30045 from lojies/addalias
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue

add alias for createconfigmap

add Aliases for cmd create configmap.
this is a supplement for [#29652]
  • Loading branch information
Kubernetes Submit Queue authored Aug 4, 2016
2 parents 88f987e + 4426c5f commit b8dbb3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/kubectl/cmd/create_configmap.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ var (
func NewCmdCreateConfigMap(f *cmdutil.Factory, cmdOut io.Writer) *cobra.Command {
cmd := &cobra.Command{
Use: "configmap NAME [--from-file=[key=]source] [--from-literal=key1=value1] [--dry-run]",
Aliases: []string{"cm"},
Short: "Create a configmap from a local file, directory or literal value",
Long: configMapLong,
Example: configMapExample,
Expand Down

0 comments on commit b8dbb3e

Please sign in to comment.