From 08d048a6d358c8d9454879bde3a54e33e821a95b Mon Sep 17 00:00:00 2001 From: mappu Date: Sat, 2 Apr 2016 14:17:47 +1300 Subject: [PATCH] fix double-"default" appearing in --help output --- src/nmdc-log-service/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nmdc-log-service/main.go b/src/nmdc-log-service/main.go index bf75b44..5a4c1e6 100644 --- a/src/nmdc-log-service/main.go +++ b/src/nmdc-log-service/main.go @@ -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")