fix double-"default" appearing in --help output
This commit is contained in:
parent
a09bf67b8f
commit
08d048a6d3
@ -100,7 +100,7 @@ func main() {
|
|||||||
hubs := flag.String("Server", "", "Addresses to connect to (comma-separated)")
|
hubs := flag.String("Server", "", "Addresses to connect to (comma-separated)")
|
||||||
nick := flag.String("Nick", "nmdc-log-service", "Nick")
|
nick := flag.String("Nick", "nmdc-log-service", "Nick")
|
||||||
password := flag.String("Password", "", "Registered nick password")
|
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.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.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")
|
flag.BoolVar(&DebugMode, "Debug", false, "Print additional information on stdout")
|
||||||
|
Loading…
Reference in New Issue
Block a user