mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 06:27:05 +00:00
Merge pull request #32060 from lojies/addaliasdeploy
Automatic merge from submit-queue add alias deploy for deployment deploy is also alias of deployment. add alias deploy for deployment so the help can see deploy in the Aliases like below: ```sh k8s@k8s-node1:~/go/workspace/src/k8s.io/kubernetes/cmd/kubectl$ ./kubectl create dep -h Create a deployment with the specified name. Aliases: deployment, dep, deploy ```
This commit is contained in:
commit
ba3ab80b09
@ -40,7 +40,7 @@ var (
|
||||
func NewCmdCreateDeployment(f *cmdutil.Factory, cmdOut io.Writer) *cobra.Command {
|
||||
cmd := &cobra.Command{
|
||||
Use: "deployment NAME --image=image [--dry-run]",
|
||||
Aliases: []string{"dep"},
|
||||
Aliases: []string{"deploy"},
|
||||
Short: "Create a deployment with the specified name.",
|
||||
Long: deploymentLong,
|
||||
Example: deploymentExample,
|
||||
|
Loading…
Reference in New Issue
Block a user