justone / dfm

dotfiles manager
http://endot.org/projects/#dfm
Other
122 stars 18 forks source link

Make better use of Getopt::Long #7

Closed nsp closed 11 years ago

nsp commented 11 years ago

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.