Closed maxsharabayko closed 1 year ago
help
is supported by click and worked all the time for my scripts like this one. What exactly is broken and which version of click
library are you using? Removing help
doesn't sound like a good option for me.
Sorry, you are right. I missed that you are talking about arguments, not options. Here is the trick to document arguments.
Done, thank you.
Usage: dump_pkt_timestamps.py [OPTIONS] INPUT OUTPUT
This script parses .pcap or .pcapng tcpdump trace file and outputs all
original data packet SRT timestamps (not Wireshark capture time) into a CSV
file.
INPUT is the pcap file to use as an input.
OUTPUT is the output CSV file to be produced.
Options:
--overwrite / --no-overwrite If exists, overwrite the .csv file produced
out of the .pcap (or .pcapng) tcpdump trace
one at the previous iterations of running the
script. [default: no-overwrite]
--help Show this message and exit.
Not supported by
click
.