sphinx-argparse-cli icon indicating copy to clipboard operation
sphinx-argparse-cli copied to clipboard

bug: tuple metavar not correctly displayed

Open viniciusglinden opened this issue 7 months ago • 1 comments

    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 avatar Jul 24 '24 14:07 viniciusglinden