diff --git a/Software/Development/Language/Go/Package/Go_语言_flag_包基本使用.md b/Software/Development/Language/Go/Package/Go_语言_flag_包基本使用.md index 9058a66..bb6c29b 100644 --- a/Software/Development/Language/Go/Package/Go_语言_flag_包基本使用.md +++ b/Software/Development/Language/Go/Package/Go_语言_flag_包基本使用.md @@ -85,7 +85,7 @@ golang 编译的二进制文件的 help 输出实质上 是调用的 flag.Usage( // /src/flag/flag.go:580 var Usage = func() { fmt.Fprintf(CommandLine.Output(), "Usage of %s:\n", os.Args[0]) - PrintDefaults() + flag.PrintDefaults() } ```