mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 05:28:49 +00:00
parent
43929ced90
commit
389f5074ad
3 changed files with 9 additions and 0 deletions
|
@ -115,3 +115,6 @@ in function 'notargparse'
|
|||
|
||||
####################
|
||||
# Ignoring unknown options
|
||||
|
||||
####################
|
||||
# Check for crash when last option is unknown
|
||||
|
|
|
@ -186,3 +186,6 @@ or echo unexpected argparse return status $status >&2
|
|||
# The unknown options are removed _entirely_.
|
||||
echo $argv
|
||||
echo $_flag_a
|
||||
|
||||
logmsg Check for crash when last option is unknown
|
||||
argparse -i b/break -- "-b kubectl get pods -l name=foo"
|
||||
|
|
|
@ -137,3 +137,6 @@ expected argparse return status 57
|
|||
# Ignoring unknown options
|
||||
-t tango --wurst
|
||||
alpha aaaa
|
||||
|
||||
####################
|
||||
# Check for crash when last option is unknown
|
||||
|
|
Loading…
Reference in a new issue