From fee5f4d293a666c293c82eed83e82a6305dd9a6c Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Mon, 29 Feb 2016 01:06:11 -0600 Subject: [PATCH] Cleaned up ordering of command line options. --- dospin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dospin.go b/dospin.go index 2c1b33c..684c860 100644 --- a/dospin.go +++ b/dospin.go @@ -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 }