You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I thought the error message was referring to the argument to -d and spent a while scratching my had trying to figure out why the first l of null would be reported as the location of the error. (In this instance it may be obvious, but this is a reduced example of a long command line.)
I expected the following
I suggest that the error message be clarified. For example:
Change "column" to "character"
Include the failing argument in the error message:
curl: (3) [globbing] unmatched brace at character 20 of «http://example.com/{foo»
Include part of argument in the error message, e.g.,
unmatched brace at character 20 (near ".com/{foo")
This is inspired by perl's parser's error reporting:
% perl -e '}'
⋮
syntax error at -e line 1, near "}"
⋮
Activity
urlblob: improve error message