diff options
| author | Paul Buetow <git@mx.buetow.org> | 2020-12-26 11:44:31 +0000 |
|---|---|---|
| committer | Paul Buetow <git@mx.buetow.org> | 2020-12-26 11:44:31 +0000 |
| commit | 60fa324cd5296b088c24d8db1d334a25ca955788 (patch) | |
| tree | 88c14b39b66f5273cebf96307c86293b178cce40 /cmd/dgrep | |
| parent | ab676c2b484225ed22765b23d8f0545088ecd610 (diff) | |
initial spartan mode support
Diffstat (limited to 'cmd/dgrep')
| -rw-r--r-- | cmd/dgrep/main.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/dgrep/main.go b/cmd/dgrep/main.go index 133631f..7da9082 100644 --- a/cmd/dgrep/main.go +++ b/cmd/dgrep/main.go @@ -31,6 +31,7 @@ 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.BoolVar(&args.Spartan, "spartan", false, "Spartan output mode") flag.IntVar(&args.ConnectionsPerCPU, "cpc", 10, "How many connections established per CPU core concurrently") flag.IntVar(&sshPort, "port", 2222, "SSH server port") flag.StringVar(&args.Discovery, "discovery", "", "Server discovery method") |
