R. David Murray added the comment: If I'm interpreted what the OP wrote correctly, he wanted the help text to not show that the option takes an argument, but instead rely on the help text to show that. That works for the option text, but it doesn't work for the synopsis (the synopsis is just wrong in that case).
Probably a blank metavar should just be rejected because of the issue with they synopsis. That should only be done in 3.7 if we do it, though. Perhaps the OP will respond to explain the blank-metavar use case in more detail. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29626> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com