We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7760c00 commit caab6acCopy full SHA for caab6ac
Userland/Utilities/test.cpp
@@ -390,7 +390,9 @@ static OwnPtr<Condition> parse_simple_expression(char* argv[])
390
case 'N':
391
case 'O':
392
case 's':
393
- fatal_error("Unsupported operator \033[1m%s", argv[optind]);
+ // 'optind' has been incremented to refer to the argument after the
394
+ // operator, while we want to print the operator itself.
395
+ fatal_error("Unsupported operator \033[1m%s", argv[optind - 1]);
396
default:
397
--optind;
398
break;
0 commit comments