Skip to content

Commit

Permalink
Duplicate default keyword in usage
Browse files Browse the repository at this point in the history
Removing default keyword to appear twice
`--cbuild2cmake Use build information files with cbuild2cmake backend
(default) (default true)`
  • Loading branch information
soumeh01 authored Jun 25, 2024
1 parent 86a1e24 commit a20bd72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/cbuild/commands/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ func NewRootCmd() *cobra.Command {
rootCmd.PersistentFlags().StringP("log", "", "", "Save output messages in a log file")
rootCmd.PersistentFlags().StringP("toolchain", "", "", "Input toolchain to be used")
rootCmd.Flags().BoolP("cbuildgen", "", false, "Use build information files with cbuildgen backend")
rootCmd.Flags().BoolP("cbuild2cmake", "", true, "Use build information files with cbuild2cmake backend (default)")
rootCmd.Flags().BoolP("cbuild2cmake", "", true, "Use build information files with cbuild2cmake backend")

// CPRJ specific hidden flags
rootCmd.Flags().StringP("intdir", "i", "", "Set directory for intermediate files")
Expand Down

0 comments on commit a20bd72

Please sign in to comment.