File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9090
9191 Equivalent config.yaml:
9292 promptForReview: promptY
93- pollInterval: 1m (default [])
93+ pollInterval: 1m
9494 -h, --help help for sd
9595 -l, --log-level string Possible log levels:
9696 debug
@@ -477,7 +477,7 @@ The following flags are available on all commands:
477477
478478 Equivalent config.yaml:
479479 promptForReview: promptY
480- pollInterval: 1m (default [])
480+ pollInterval: 1m
481481 -l, --log-level string Possible log levels:
482482 debug
483483 info
Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ func buildRootCommand() *cobra.Command {
8787 "Equivalent config.yaml:\n " +
8888 " promptForReview: promptY\n " +
8989 " pollInterval: 1m" )
90+ rootCmd .PersistentFlags ().Lookup ("config" ).DefValue = ""
9091
9192 rootCmd .PersistentPreRun = func (cmd * cobra.Command , args []string ) {
9293 // If --log-level flag was set, it was already applied in ExecuteCommand.
You can’t perform that action at this time.
0 commit comments