修正一处语法错误.

Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
This commit is contained in:
chen.yang 2021-08-12 10:35:31 +08:00
parent 65aa0c6fd1
commit 786449d2ed
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ golang 编译的二进制文件的 help 输出实质上 是调用的 flag.Usage(
// <go src>/src/flag/flag.go:580 // <go src>/src/flag/flag.go:580
var Usage = func() { var Usage = func() {
fmt.Fprintf(CommandLine.Output(), "Usage of %s:\n", os.Args[0]) fmt.Fprintf(CommandLine.Output(), "Usage of %s:\n", os.Args[0])
PrintDefaults() flag.PrintDefaults()
} }
``` ```