1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-02 23:27:45 +00:00
nu_scripts/custom-completions/tcpdump/tcpdump-completions.nu
Auca Coyan 13a73ab635
🐛 fix more parser errors (#783)
Hi! I reduced some of the errors in the daily CI. Still there are a few
of them, but at least is something

- Added the badge for the `daily.yml` (currently failing)
- removed old `docker` from v0.60
- removed old `git` from auto-generate completions
- removed `nethack` from auto-generate completions (wasn't very useful)
- removed `root` from auto-generate completions (wasn't very useful)
- removed `valgrind` from auto-generate completions (wasn't very useful)
- moved `less` from auto-generate to custom-completions.
- moved `mix` from auto-generate to custom-completions.
- moved `tar` from auto-generate to custom-completions.
- moved `tcpdump` from auto-generate to custom-completions.
- moved `virsh` from auto-generate to custom-completions.
- moved `zef` from auto-generate to custom-completions.
- fixed `base16.nu`
- fixed `from-cpuinfo.nu`
- fixed `from-dmicode.nu`
- fixed `to-number-format.nu`
- fixed `to-json-schema.nu`
2024-03-15 21:10:27 -05:00

19 lines
No EOL
1 KiB
Text

# Print each packet in ASCII
extern "tcpdump" [
--list-interfaces(-D) # Print the list of the network interfaces
--help(-h) # Print version strings and a usage message
--version # Print the tcpdump and libpcap version strings
--monitor-mode(-I) # Put the interface in monitor mode
--immediate-mode # Capture in immediate mode
--list-time-stamp-types(-J) # List the supported time stamp types for the interface
--dont-verify-checksums(-K) # Dont attempt to verify IP, TCP, or UDP checksums
--list-data-link-types(-L) # List the known data link types for the interface
--number # Print an optional packet number
# breaks the parser
# --number(-\#) # Print an optional packet number
--no-optimize(-O) # Do not run the packet-matching code optimizer
--no-promiscuous-mode(-p) # Dont put the interface into promiscuous mode
--absolute-tcp-sequence-numbers(-S) # Print absolute TCP sequence numbers
--packet-buffered(-U) # Make the packet output packet-buffered
...args
]