Skip to content

Revert "migrate autoopts -> getopt + asciidoctor"#1000

Merged
fklassen merged 1 commit into
v4.5.3-beta1from
revert-991-autoopt-asciidoctor
Jul 17, 2026
Merged

Revert "migrate autoopts -> getopt + asciidoctor"#1000
fklassen merged 1 commit into
v4.5.3-beta1from
revert-991-autoopt-asciidoctor

Conversation

@fklassen

Copy link
Copy Markdown
Member

Reverts #991

Unfortunately I have to revert this and reopen Issue #895 which is deferred to next feature release.As documented in the issue:

Issues that need to be reviewed:

  • breaks sudo make test
  • no --load-opts option (may choose to drop this)
  • option --more-help fails, e.g.
❯ src/tcpreplay --more-help
Warning in /Users/fklassen/git/tcpreplay/src/common/interface.c:get_interface_list() line 80:
May need to run as root to get access to all network interfaces.
tcpreplay: unrecognized option `--more-help'
tcpreplay - Replay network traffic stored in pcap files
Usage:  tcpreplay [ -<flag> [<val>] | --<name>[{=| }<val>] ]... <pcap_file(s)>

  -d, --dbug=num           Enable debugging output
  -q, --quiet              Quiet mode
  -T, --timer=str          Select packet timing mode: select, ioport, gtod, nano
      --maxsleep=num       Sleep for no more then X milliseconds between packets
  -v, --verbose            Print decoded packets via tcpdump to STDOUT
  -A, --decode=str         Arguments passed to tcpdump decoder
  -K, --preload-pcap       Preloads packets into RAM before sending
  -c, --cachefile=str      Split traffic via a tcpprep cache file
  -2, --dualfile           Replay two files at a time from a network tap
  -i, --intf1=str          Client to server/RX/primary traffic output interface
  -I, --intf2=str          Server to client/TX/secondary traffic output interface
  -w, --write=str          Pcap file to receive traffic outputs
      --include=str        Send only selected packet numbers
      --exclude=str        Send all but selected packet numbers
      --listnics           List available network interfaces and ex%

@fklassen
fklassen merged commit bb31dcf into v4.5.3-beta1 Jul 17, 2026
2 checks passed
@fklassen
fklassen deleted the revert-991-autoopt-asciidoctor branch July 17, 2026 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant