summaryrefslogtreecommitdiff
path: root/cmd/dgrep
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/dgrep')
-rw-r--r--cmd/dgrep/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/dgrep/main.go b/cmd/dgrep/main.go
index 14cfb0c..c0a91eb 100644
--- a/cmd/dgrep/main.go
+++ b/cmd/dgrep/main.go
@@ -40,6 +40,7 @@ func main() {
flag.IntVar(&args.LContext.AfterContext, "after", 0, "Print lines of trailing context after matching lines")
flag.IntVar(&args.LContext.BeforeContext, "before", 0, "Print lines of leading context before matching lines")
flag.IntVar(&args.LContext.MaxCount, "max", 0, "Stop reading file after NUM matching lines")
+ flag.IntVar(&args.SSHAgentKeyIndex, "agentKeyIndex", -1, "SSH agent key index to use (-1 for all keys)")
flag.IntVar(&args.SSHPort, "port", config.DefaultSSHPort, "SSH server port")
flag.StringVar(&args.ConfigFile, "cfg", "", "Config file path")
flag.StringVar(&args.Discovery, "discovery", "", "Server discovery method")