mage
mage copied to clipboard
Warn if additional args when running mage commands like --version etc
bail if either flag is set if fs.NArgs() > 0 || fs.NFlags() > 1 - i.e. if any other args were specified.
Also move them into a separate section of the usage output called "commands".
The --clean flag should be treated the same way from #19
Looks like the functionality has been implemented, since when a commands is given, any targets also specified are not executed. Sweet. But rather than ignoring them silently, it would be better if there was a warning. This should apply to all commands.