mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-22 06:18:56 +08:00

A broken/missing optspec or `--` is a bug in the script using argparse, an unknown option or invalid argument is a bug in using that script. So in the former case print a stacktrace, because the person writing the `argparse` call is at fault, in the latter don't. Fixes #6703.