Changed root level debug shorthand to capital D, make it consistent with Moby flag and not clash with —detach future option

This commit is contained in:
Guillaume Tardif 2020-06-22 13:11:08 +02:00
parent 45750fe104
commit dbaab41604
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ func main() {
helpFunc(cmd, args)
})
root.PersistentFlags().BoolVarP(&opts.Debug, "debug", "d", false, "enable debug output in the logs")
root.PersistentFlags().BoolVarP(&opts.Debug, "debug", "D", false, "enable debug output in the logs")
opts.AddConfigFlags(root.PersistentFlags())
opts.AddContextFlags(root.PersistentFlags())