This is an automated email from the ASF dual-hosted git repository. pcongiusti pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 076cd61ddb1655ebf78408d80f68fa127df332d9 Author: pkalsi97 <[email protected]> AuthorDate: Tue Nov 4 15:20:15 2025 +0530 fix: remove BoolVarP and use decode for force flag --- pkg/cmd/reset.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/reset.go b/pkg/cmd/reset.go index a1cdb9aac..59c40a9c4 100644 --- a/pkg/cmd/reset.go +++ b/pkg/cmd/reset.go @@ -44,7 +44,7 @@ func newCmdReset(rootCmdOptions *RootCmdOptions) (*cobra.Command, *resetCmdOptio cmd.Flags().Bool("skip-kits", false, "Do not delete the integration kits") cmd.Flags().Bool("skip-integrations", false, "Do not delete the integrations") cmd.Flags().Bool("skip-bindings", false, "Do not delete the bindings/pipes") - cmd.Flags().BoolVarP(&options.Force, "force", "f", false, "Force reset without confirmation") + cmd.Flags().Bool("force", false, "Force reset without confirmation") return &cmd, &options }
