Skip to content
This repository has been archived by the owner on Jun 13, 2021. It is now read-only.

Commit

Permalink
Add -f shorthand to app rm --force
Browse files Browse the repository at this point in the history
Makes -f the shorthand for --force in `docker app rm`, same as in `docker rm` and `docker app image rm`

Signed-off-by: Nick Adcock <nick.adcock@docker.com>
  • Loading branch information
zappy-shu committed Dec 2, 2019
1 parent d119541 commit 3cebbc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/commands/remove.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func removeCmd(dockerCli command.Cli, installerContext *cliopts.InstallerContext
},
}
opts.credentialOptions.addFlags(cmd.Flags())
cmd.Flags().BoolVar(&opts.force, "force", false, "Force the removal of a running App")
cmd.Flags().BoolVarP(&opts.force, "force", "f", false, "Force the removal of a running App")

return cmd
}
Expand Down

0 comments on commit 3cebbc2

Please sign in to comment.