Skip to content

Conversation

@crotwell
Copy link
Contributor

This does not fix it, but contains a test case for #2294

@crotwell
Copy link
Contributor Author

Possible solution added, sorts options inside ArgGroup using Help.SortByOptionArityAndNameAlphabetically()

@crotwell
Copy link
Contributor Author

Two tests still failing, but not clear to me if the test data should just be modified or if keeping "code order" within an ArgGroup is important feature. Especially since "code order" doesn't work with setters, it seems like
[ARG1 | ARG2 | ARG3 | -a | -b | -c] should be considered equivalent to
[ -a | -b | -c | ARG1 | ARG2 | ARG3] but maybe not.

@crotwell crotwell changed the title add test for sorting synopsis within ArgGroup sorting synopsis within ArgGroup Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant