We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When passing negative number (eg -123) or string which starts with negative number (eg -123abc) as argument, kong returns unknown flag error.
-123
-123abc
IMO if string starts with - followed by a number kong should interpret it as an argument instead of a flag
-
The text was updated successfully, but these errors were encountered:
-1 is a valid short flag though. Where there's ambiguity Kong requires explicitness, ie. --num=-1234 for flags or -- -1234 for positional arguments.
--num=-1234
-- -1234
Sorry, something went wrong.
Alright, thanks for fast answer. If it's against of the way how Kong do things I will close this issue 👍
No branches or pull requests
When passing negative number (eg
-123
) or string which starts with negative number (eg-123abc
) as argument, kong returns unknown flag error.IMO if string starts with
-
followed by a number kong should interpret it as an argument instead of a flagThe text was updated successfully, but these errors were encountered: