It's probably better practice to require the command to be the first argument, and then to parse all possible options with Getopt::Long before acting on non-vcs commands. It seems to me like the current flexibility will do undesired things, like interpret '-opt val' as the val command, or not pass '--verbose' on to git.
It's probably better practice to require the command to be the first argument, and then to parse all possible options with Getopt::Long before acting on non-vcs commands. It seems to me like the current flexibility will do undesired things, like interpret '-opt val' as the val command, or not pass '--verbose' on to git.