-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Bump clap
to 4.5.23
& fix failing seq
tests
#6955
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
Conversation
@@ -47,9 +48,33 @@ struct SeqOptions<'a> { | |||
/// The elements are (first, increment, last). | |||
type RangeFloat = (ExtendedBigDecimal, ExtendedBigDecimal, ExtendedBigDecimal); | |||
|
|||
// Turn short args with attached value, for example "-s,", into two args "-s" and "," to make | |||
// them work with clap. |
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.
maybe add a link to the discussion ?
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.
Yes, good point, though I will add it to the comment on lines 196/197 where it's a better fit.
GNU testsuite comparison:
|
GNU testsuite comparison:
|
I guess they are regressions, right? Thanks |
allow_negative_numbers because clap removed support for "exotic" negative numbers like -.1
well done |
This PR bumps
clap
from4.4.2
to4.5.23
and fixes some failing tests inseq
due to breaking changes inclap
's handling of negative numbers. It also adapts two error messages of GNU tests to adapt toclap
changes.