fix double-"default" appearing in --help output

This commit is contained in:
mappu 2016-04-02 14:17:47 +13:00
parent 4cd954e112
commit aac834d4f7

View File

@ -100,7 +100,7 @@ func main() {
hubs := flag.String("Server", "", "Addresses to connect to (comma-separated)")
nick := flag.String("Nick", "nmdc-log-service", "Nick")
password := flag.String("Password", "", "Registered nick password")
flag.StringVar(&BaseDir, "Dir", ".", "Output directory (default cwd)")
flag.StringVar(&BaseDir, "Dir", ".", "Output directory")
flag.BoolVar(&LogConnectionState, "LogConnectionState", true, "Include connection state changes in log")
flag.StringVar(&PMResponse, "PMResponse", "This is an automated service. For enquiries, please contact an administrator.", "Message to respond with on PM")
flag.BoolVar(&DebugMode, "Debug", false, "Print additional information on stdout")