mirror of https://github.com/knative/func.git
fix: verbose default not applied (#1884)
This commit is contained in:
parent
0def26fa79
commit
8703d9cf9e
|
@ -306,7 +306,7 @@ func addPathFlag(cmd *cobra.Command) {
|
|||
|
||||
// addVerboseFlag ensures common text/wording when the --path flag is used
|
||||
func addVerboseFlag(cmd *cobra.Command, dflt bool) {
|
||||
cmd.Flags().BoolP("verbose", "v", false, "Print verbose logs ($FUNC_VERBOSE)")
|
||||
cmd.Flags().BoolP("verbose", "v", dflt, "Print verbose logs ($FUNC_VERBOSE)")
|
||||
}
|
||||
|
||||
// cwd returns the current working directory or exits 1 printing the error.
|
||||
|
|
Loading…
Reference in New Issue