Open kwkroll32 opened 8 years ago
This expected behavior; --input --output --min --max were added as "global" flags before I added subcommands. However I agree they shoudl be moved to flags belonging to the subcommands. Each command will have identical flags but I guess this is okay
Using Windows & go 1.5.3
The command argument must be last (i.e. come after the input argument, etc.) or it throws an error. The error/help text even shows that you should run it as
go run vgel.go COMMAND ARGS
but it only works asgo run vgel.go ARGS COMMAND
for me.