瀏覽代碼

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

Guillaume Tardif 5 年之前
父節點
當前提交
dbaab41604
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cli/main.go

+ 1 - 1
cli/main.go

@@ -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())