Reuben Thomas <r...@sc3d.org> added the comment:
A workaround to help users for now is: >>> parser.add_argument('args', metavar='...', nargs=argparse.REMAINDER) as then at least the help entry corresponds to the synopsis: positional arguments: command ... And with a `help` string, this can be clarified further, e.g.: >>> parser.add_argument('args', metavar='...', nargs=argparse.REMAINDER, >>> help='arguments to the command') ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41856> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com