diff --git a/src/main.go b/src/main.go index 5a0ce16..17b5092 100644 --- a/src/main.go +++ b/src/main.go @@ -117,6 +117,7 @@ func main() { logger = log.New() // Command line parsing + getopt.SetParameters("[ip] [port]") getopt.FlagLong(&usage, "help", 'h', "Print this help text") getopt.FlagLong(&version, "version", 'v', "Print version") getopt.FlagLong(&logFile, "log", 'l', "Path to log file", "file")