add short flag for force

Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
allencloud
2016-11-09 14:40:47 +08:00
parent 3f839084b0
commit 31c5b957e2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ func newRemoveCommand(dockerCli *command.DockerCli) *cobra.Command {
},
}
flags := cmd.Flags()
flags.BoolVar(&opts.force, "force", false, "Force remove a node from the swarm")
flags.BoolVarP(&opts.force, "force", "f", false, "Force remove a node from the swarm")
return cmd
}