diff options
| author | Paul Buetow <pbuetow@mimecast.com> | 2020-09-04 15:32:29 +0300 |
|---|---|---|
| committer | Paul Buetow <pbuetow@mimecast.com> | 2020-09-04 15:32:29 +0300 |
| commit | 7e7e39eab15a346af6d2859086bfbffbd32875aa (patch) | |
| tree | d2095d091b2714cc499ba57fea19a6658d98c2a8 /cmd/dserver | |
| parent | 4a200606e6186b8457b336d07a7eef01f8929b9e (diff) | |
refactoring client args passing
Diffstat (limited to 'cmd/dserver')
| -rw-r--r-- | cmd/dserver/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/dserver/main.go b/cmd/dserver/main.go index 34b983f..d889dc9 100644 --- a/cmd/dserver/main.go +++ b/cmd/dserver/main.go @@ -35,9 +35,9 @@ func main() { flag.BoolVar(&debugEnable, "debug", false, "Activate debug messages") flag.BoolVar(&displayVersion, "version", false, "Display version") flag.BoolVar(&noColor, "noColor", false, "Disable ANSII terminal colors") + flag.IntVar(&pprof, "pprof", -1, "Start PProf server this port") flag.IntVar(&shutdownAfter, "shutdownAfter", 0, "Automatically shutdown after so many seconds") flag.IntVar(&sshPort, "port", 2222, "SSH server port") - flag.IntVar(&pprof, "pprof", -1, "Start PProf server this port") flag.StringVar(&cfgFile, "cfg", "", "Config file path") flag.Parse() |
