mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 12:21:19 -03:00
Fix error for "fish --foo" without option argument
Wgetopt needs a ":" at the beginning to turn on this type of error. I'm not sure why that is now, and we might want to change it (but tbh wgetopt could do with a replacement anyway). Fixes #11049
This commit is contained in:
@@ -111,5 +111,8 @@ $fish --no-config -c 'echo notprinted | and true'
|
||||
# CHECKERR: echo notprinted | and true
|
||||
# CHECKERR: ^~^
|
||||
|
||||
$fish --no-config --features
|
||||
# CHECKERR: fish: --features: option requires an argument
|
||||
|
||||
# Regression test for a hang.
|
||||
echo "set -L" | $fish > /dev/null
|
||||
|
||||
Reference in New Issue
Block a user