mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-07 01:51:14 -03:00
string: Error out on match -eq
The `--entire` would enable output even though the `--quiet` should have silenced it. These two don't make any sense together so print an error, because the user could have just left off the `-q`.
This commit is contained in:
@@ -559,3 +559,7 @@ function dualcollect
|
||||
end
|
||||
count (dualcollect)
|
||||
# CHECK: 3
|
||||
|
||||
string match -qer asd asd
|
||||
# CHECKERR: match: Invalid combination of options,
|
||||
# CHECKERR: --entire and --quiet are mutually exclusive
|
||||
|
||||
Reference in New Issue
Block a user