-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Add ArgPrecedenceOverSubcommand app setting #1834
Add ArgPrecedenceOverSubcommand app setting #1834
Conversation
Signed-off-by: David McNeil <[email protected]>
4f63e28
to
247231d
Compare
Great PR! The only issue is that I am not convinced we should be changing the behaviour here. I still think we should keep the old behaviour as default. |
That is understandable. I personally prefer this default behavior, but I am happy to change it to I am curious why you prefer the current behavior? |
These behaviours are something that are hard to describe and even if we are breaking a lot of stuff for 3.0, this one might be a bit too far and difficult to understand. Basically, I want to be more cautious. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Waiting for the change to be SubcommandPrecedenceOverArg
Signed-off-by: David McNeil <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors r+
🕐 Waiting for PR status (Github check) to be set, probably by CI. Bors will automatically try to run when all required PR statuses are set. |
bors r+ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from this, looks good!
Signed-off-by: David McNeil <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm very sorry for sequential nitpicks, but the indentation...
Signed-off-by: David McNeil <[email protected]>
bors r+ |
Bors is constantly crashing for this PR. Don't know why. I am manually merging this. |
ArgPrecendenceOverSubcommand
is an app setting that changes if argument values should be greedily consumed instead of stopping when a subcommand is encountered. See #1721 for further explanation. See #1031 and 0c223f for when the initial change was made.There should probably be further community discussion on the correct default.
Signed-off-by: David McNeil [email protected]