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

bug: tuple metavar not correctly displayed #177

Open
viniciusglinden opened this issue Jul 24, 2024 · 1 comment
Open

bug: tuple metavar not correctly displayed #177

viniciusglinden opened this issue Jul 24, 2024 · 1 comment

Comments

@viniciusglinden
Copy link

    test_selection = parser.add_argument_group("Test selection", "What should the script test")
    mutex_group.add_argument(
        "--test", "-t", metavar=("A", "B"), type=int, nargs=2, help="Select a specific A and B to run"
    )

will display under "Test selection":

--test A, -t A- Select a specific A and B to run (default: None)
@viniciusglinden
Copy link
Author

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

No branches or pull requests

1 participant