Cleaned up ordering of command line options.

This commit is contained in:
Gary Talent 2016-02-29 01:06:11 -06:00
parent 75bc76ff76
commit fee5f4d293

View File

@ -24,8 +24,8 @@ type cmdOptions struct {
func parseCmdOptions() cmdOptions {
var o cmdOptions
flag.StringVar(&o.config, "config", "dospin.json", "Path to the dospin config file")
flag.StringVar(&o.cmd, "cmd", CMD_SERVE, "Mode to run command in ("+CMD_SERVE+","+CMD_SPINDOWNALL+")")
flag.StringVar(&o.config, "config", "dospin.json", "Path to the dospin config file")
flag.Parse()
return o
}