修正一处语法错误.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
This commit is contained in:
parent
65aa0c6fd1
commit
786449d2ed
|
@ -85,7 +85,7 @@ golang 编译的二进制文件的 help 输出实质上 是调用的 flag.Usage(
|
|||
// <go src>/src/flag/flag.go:580
|
||||
var Usage = func() {
|
||||
fmt.Fprintf(CommandLine.Output(), "Usage of %s:\n", os.Args[0])
|
||||
PrintDefaults()
|
||||
flag.PrintDefaults()
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue