mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-02 22:21:15 -03:00
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user