소스 검색

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