Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 3cebbc2

Browse files
committed
Add -f shorthand to app rm --force
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 <[email protected]>
1 parent d119541 commit 3cebbc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/commands/remove.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func removeCmd(dockerCli command.Cli, installerContext *cliopts.InstallerContext
3636
},
3737
}
3838
opts.credentialOptions.addFlags(cmd.Flags())
39-
cmd.Flags().BoolVar(&opts.force, "force", false, "Force the removal of a running App")
39+
cmd.Flags().BoolVarP(&opts.force, "force", "f", false, "Force the removal of a running App")
4040

4141
return cmd
4242
}

0 commit comments

Comments
 (0)