in: fixed wrong 0 arguments handling.
This commit is contained in:
parent
1ee7ad4080
commit
3e2ee939c4
1 changed files with 4 additions and 1 deletions
|
@ -28,7 +28,10 @@ func Run(args []string) {
|
|||
args = flagSet.Args()
|
||||
|
||||
if len(args) == 0 {
|
||||
flagSet.Usage()
|
||||
//flagSet.Usage()
|
||||
if !not {
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
|
||||
mp := make(map[string] int)
|
||||
|
|
Loading…
Reference in a new issue