-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
expr: unexpected argument
error for missing arguments is misleading
#5573
Labels
Comments
Now they all leading to
Is this acceptable? |
That doesn't sound like the right behaviour. I'm reworking the parsing at the moment though. I'll try to get that PR up soon. |
Fixed by #5586 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following commands lead to
unexpected argument
errors with uutilsexpr
:This is a bit misleading because the problem is not the argument shown in the error message but missing arguments.
GNU
expr
shows amissing argument
error in such cases:The text was updated successfully, but these errors were encountered: