summaryrefslogtreecommitdiff
path: root/rdns_scan/zmap4rdns/src/topt.ggo.in
diff options
context:
space:
mode:
Diffstat (limited to 'rdns_scan/zmap4rdns/src/topt.ggo.in')
-rw-r--r--rdns_scan/zmap4rdns/src/topt.ggo.in38
1 files changed, 38 insertions, 0 deletions
diff --git a/rdns_scan/zmap4rdns/src/topt.ggo.in b/rdns_scan/zmap4rdns/src/topt.ggo.in
new file mode 100644
index 0000000..bd02dfa
--- /dev/null
+++ b/rdns_scan/zmap4rdns/src/topt.ggo.in
@@ -0,0 +1,38 @@
+# ZTee Copyright 2014 Regents of the University of Michigan
+
+# Licensed under the Apache License, Version 2.0 (the "License"); you may not
+# use this file except in compliance with the License. You may obtain a copy of
+# the License at http://www.apache.org/licenses/LICENSE-2.0
+
+# ztee option description to be processed by gengetopt
+
+package "ztee"
+version "@ZMAP_VERSION@"
+purpose "A buffering output splitter"
+
+section "Basic arguments"
+
+option "success-only" - "Only write to stdout rows where success=1 or success=true"
+ optional
+option "monitor" m "Print monitor data to stderr"
+ optional
+option "status-updates-file" u "File to write status updates, in CSV format"
+ typestr="monitor.csv"
+ optional string
+option "log-file" l "File to log errors, etc. to"
+ optional string
+option "raw" r "Ignore input formatting and pass through raw input"
+ optional
+
+section "Additional options"
+
+option "help" h "Print help and exit"
+ optional
+option "version" V "Print version and exit"
+ optional
+
+text "\nExamples:\n\
+ zmap -p 80 -o - | ztee zmap.csv (save zmap output to zmap.csv and output all IP addresses to stdout)\n\
+ zmap -p 80 --output-fields=* -o - | ztee --success-only zmap.csv (save all zmap output to zmap.csv, print IPs from successful rows to stdout)\n\
+ zmap -p 80 -o - | ztee -u status.csv zmap.csv (save zmap output to zmap.csv, write status updates to status.csv, print all IPs to stdout)\n\
+ echo \"hello, ztee\" | ztee --raw out.txt (write text to out.txt and to stdout, like tee)"