mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 03:51:14 -03:00
@@ -305,5 +305,5 @@ begin
|
||||
end
|
||||
|
||||
# #6483 - error messages for missing arguments
|
||||
argparse -n foo r/required= -- foo -r
|
||||
# CHECKERR: foo: Expected argument for option -r
|
||||
argparse -n foo q r/required= -- foo -qr
|
||||
# CHECKERR: foo: Expected argument for option r
|
||||
|
||||
@@ -330,7 +330,7 @@ echo "stdin" | string repeat -n1 "and arg"; and echo "exit 0"
|
||||
# CHECKERR: string repeat: Too many arguments
|
||||
|
||||
string repeat -n; and echo "exit 0"
|
||||
# CHECKERR: string repeat: Expected argument for option -n
|
||||
# CHECKERR: string repeat: Expected argument for option n
|
||||
|
||||
# FIXME: Also triggers usage
|
||||
# string repeat -l fakearg
|
||||
|
||||
Reference in New Issue
Block a user