topt.ggo 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # ZTee Copyright 2014 Regents of the University of Michigan
  2. # Licensed under the Apache License, Version 2.0 (the "License"); you may not
  3. # use this file except in compliance with the License. You may obtain a copy of
  4. # the License at http://www.apache.org/licenses/LICENSE-2.0
  5. # ztee option description to be processed by gengetopt
  6. package "ztee"
  7. version "2.1.0-RC1"
  8. purpose "A buffering output splitter"
  9. section "Basic arguments"
  10. option "success-only" - "Only write to stdout rows where success=1 or success=true"
  11. optional
  12. option "monitor" m "Print monitor output to stdout"
  13. optional
  14. option "status-updates-file" u "File to write status updates in CSV format"
  15. typestr="monitor.csv"
  16. optional string
  17. option "log-file" l "File to log to"
  18. optional string
  19. option "raw" r "Ignore input formatting"
  20. optional
  21. section "Additional options"
  22. option "help" h "Print help and exit"
  23. optional
  24. option "version" V "Print version and exit"
  25. optional
  26. text "\nExamples:\n\
  27. zmap -p 80 -o - | ztee zmap.csv (save zmap output to zmap.csv and output all rows to stdout)\n\
  28. zmap -p 80 --output-fields=* -o - | ztee -S zmap.csv (save all zmap output to zmap.csv, print successful rows to stdout)\n\
  29. zmap -p 80 -o - | ztee -s status.csv zmap.csv (save zmap output to zmap.csv, write status updates to status.csv)"