-
Notifications
You must be signed in to change notification settings - Fork 1
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
Inconsistent Parsing of Root Flag with Equal Sign in Default Behavior #14
Comments
I'd consider this a big bug as part of the recent update. We had previously been using the Go Flag module but I couldn't find a great way to make it behave with arguments that weren't defined? Let me try and get this fixed and a new release pushed this week. I apologize for any inconvenience. Thank you for the report! |
I started to take a look at this today. I plan to have a fix up this week. |
I've put this up on the main branch in case anybody wants to test locally.
|
I just released v1.0.2 that includes a fix for this. Thank you for the reports! |
Description:
When using the
--root
flag with the equal sign (=
) in the default behaviour, the flag is not identified as expected. For instance, the syntax--root=/path
does not behave correctly, while the alternative syntax--root /path
works as intended.Steps to Reproduce:
--root=/path
syntax.Expected Behavior:
The
--root=/path
syntax should be equivalent to--root /path
and both should be parsed consistently.Actual Behavior:
The
--root=/path
syntax is not recognised as expected, leading to inconsistencies in the default behaviour.Proposed Resolution
Integrating the Go Flag package
The text was updated successfully, but these errors were encountered: