-
Notifications
You must be signed in to change notification settings - Fork 65
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
%(default) not supported in help message #27
Comments
asmeurer
added a commit
to drdoctr/doctr
that referenced
this issue
Aug 9, 2016
We won't actually use this, because it doesn't replace %(default)s in the help strings (alex-rudakov/sphinx-argparse#27).
Yes this is also an issue for me as I always include the %(default) variable in help strings. |
dpryan79
added a commit
that referenced
this issue
Oct 6, 2016
I've now implemented this in the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems sphinx-argparse does not support expanding the %(default) contained in help string of the add_argument().
sphinx-argparse will literaly print "%(default)" instead of replacing it with the default argument of the add_argument().
Please, see https://docs.python.org/3/library/argparse.html#help
Thanks!
The text was updated successfully, but these errors were encountered: