tests: fix false failure with pr -COLS

* tests/misc/usage_vs_getopt.sh: Fix false failure induced
by commit v9.9-239-ga06f0cf67
This commit is contained in:
Pádraig Brady 2026-01-22 11:55:51 +00:00
parent 87219034b7
commit 58ba9580e7

View File

@ -70,7 +70,7 @@ checkprg () {
# Else $prg should have complained about a missing argument.
# Catch false positives.
case "$prg/$opt" in
'pr/-COLUMN') continue;;
'pr/-COLS') continue;;
esac
# Replace $opt in stderr output by the neutral placeholder.
# Handle both long and short option error messages.