in: fixed wrong 0 arguments handling.

This commit is contained in:
Andrey Parhomenko 2022-11-14 23:53:48 +05:00
parent 1ee7ad4080
commit 3e2ee939c4

View file

@ -28,7 +28,10 @@ func Run(args []string) {
args = flagSet.Args() args = flagSet.Args()
if len(args) == 0 { if len(args) == 0 {
flagSet.Usage() //flagSet.Usage()
if !not {
os.Exit(1)
}
} }
mp := make(map[string] int) mp := make(map[string] int)