Closed fklassen closed 2 years ago
I'll get working on this. Should the sorting be done exclusively through the long options, or should the short options be considered too?
It would change the ordering because the short and the long forms of some flags start with different letters:
-A, --decode=str Arguments passed to tcpdump decoder
It's easy to come up with a mock up using a text editor, so I've made a list of all the options sorted exclusively through their long forms:
--cachefile
--decode
--dualfile
--duration
--flowexpiry
--help
--intf1
--intf2
--lesshelp
--limit
--listnics
--loadopts
--loop
--loopdelayms
--maxsleep
--mbps
--morehelp
--multiplier
--netmap
--nmdelay
--noflowstats
--oneatatime
--pid
--pktlen
--pps
--ppsmulti
--preloadpcap
--quiet
--saveopts
--stats
--timer
--topspeed
--uniqueip
--uniqueiploops
--verbose
--version
Shelving for now. It seems to be difficult to do this with autogen especially with tcpreplay-edit. Will reopen if someone fixes this without introducing bugs.
Would like to see options printed in alphabetical order. Current order is ...