You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following parses correctly on try.docopt.org but using docopt.java fails to recognize the options after -h as options.
Usage:
traffic_monitor [options] <logfile>
Options:
-v, --version Print the version information.
-h, --help Show this usage information.
-t, --alert-threshold <threshold>
How many requests within the alert period are required to trigger an alert?
Defaults to 1000.
-p, --alert-period <alert-period>
Alert period (in seconds). Defaults to 120 second.
-r, --refresh-period <refresh-period>
Refresh/recalculate period (in milliseconds). Defaults to 1000, minimum
value of 50 ms.
-d, --display-period <display-period>
Period (in seconds) for the display of statistics. Defaults to 10.
-a, --include-all-entries
By default traffic_monitor only analyzes log entries that are appended to
the log after the monitor is started. Using this flag will cause
traffic_monitor to include all the entries already in the log file in its
analysis.
The text was updated successfully, but these errors were encountered:
The following parses correctly on try.docopt.org but using
docopt.java
fails to recognize the options after-h
as options.The text was updated successfully, but these errors were encountered: