()
| 255 | |
| 256 | |
| 257 | def _usage(): |
| 258 | # type: () -> None |
| 259 | print( |
| 260 | "Usage: scapy.py [-c new_startup_file] " |
| 261 | "[-p new_prestart_file] [-C] [-P] [-H]\n" |
| 262 | "Args:\n" |
| 263 | "\t-H: header-less start\n" |
| 264 | "\t-C: do not read startup file\n" |
| 265 | "\t-P: do not read pre-startup file\n" |
| 266 | ) |
| 267 | sys.exit(0) |
| 268 | |
| 269 | |
| 270 | def _add_bash_autocompletion(fname: str, script: pathlib.Path) -> None: |