-
Notifications
You must be signed in to change notification settings - Fork 95
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
Should arguments that begin with ':' be reserved for hints? #348
Comments
@sruffell, I agree. I guess we gain more clarity by restricting The problem here also seems to be that there is a
|
Currently, any argument that starts with ':' that isn't a known hint will be treated as a tag. After this change, an error is produced. Hopefully there were not users who were using tags that start with a colon... Closes GothenburgBitFactory#348
Currently, any argument that starts with ':' that isn't a known hint will be treated as a tag. After this change, an error is produced. Hopefully there were not users who were using tags that start with a colon... Closes GothenburgBitFactory#348
Currently, any argument that starts with ':' that isn't a known hint will be treated as a tag. After this change, an error is produced. Hopefully there were not users who were using tags that start with a colon... Closes GothenburgBitFactory#348 Signed-off-by: Shaun Ruffell <[email protected]>
I pushed the change to error on unknown hints, but I agree with the above. It almost seems to me that range hints should always begin with a colon, but that would complicate the date parsing. 🤔 |
Currently, any argument that starts with ':' that isn't a known hint will be treated as a tag. After this change, an error is produced. Hopefully there were not users who were using tags that start with a colon... Closes GothenburgBitFactory#348 Signed-off-by: Shaun Ruffell <[email protected]>
Currently, any argument that starts with ':' that isn't a known hint will be treated as a tag. After this change, an error is produced. Hopefully there were not users who were using tags that start with a colon... Closes GothenburgBitFactory#348 Signed-off-by: Shaun Ruffell <[email protected]>
The following output surprised me:
My question is should any command line argument that begins with a
:
be interpreted as a hint, and display an error that there is no hint with that name instead of treating it as a tag?The text was updated successfully, but these errors were encountered: