Cleaned up ordering of command line options.
This commit is contained in:
parent
75bc76ff76
commit
fee5f4d293
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user