string: Allow -eq again

Instead of forbidding it for both modes, allow it for both and make it
quiet for string.

Fixes #6282
This commit is contained in:
Fabian Homborg
2019-11-04 17:33:37 +01:00
parent 6fb7f9b6b8
commit d77c465d23
2 changed files with 7 additions and 9 deletions

View File

@@ -561,5 +561,9 @@ count (dualcollect)
# CHECK: 3
string match -qer asd asd
# CHECKERR: match: Invalid combination of options,
# CHECKERR: --entire and --quiet are mutually exclusive
echo $status
# CHECK: 0
string match -eq asd asd
echo $status
# CHECK: 0