Skip to content
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

v3 fix(derive): Add "id" attribute #4068

Merged
merged 1 commit into from Aug 12, 2022
Merged

v3 fix(derive): Add "id" attribute #4068

merged 1 commit into from Aug 12, 2022

Commits on Aug 12, 2022

  1. fix(derive): Add "id" attribute

    Backported from future version 4 (original commit
    1a2ae76)
    
    > Previously the Arg id was set with the "name" attribute. This allows use
    > of an "id" attribute to match the underlying struct.
    >
    > A side effect of this is that the "id" attribute may also be used on
    > Commands. This isn't desired, but given the current architecture of the
    > attribute parser, it's hard to avoid.
    >
    > Fixes: #3785
    danielparks committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    d8e2549 View commit details
    Browse the repository at this point in the history