We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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)s
This program crashes with ValueError: substring not found
ValueError: substring not found
import argparse from rich_argparse._argparse import RichHelpFormatter parser = argparse.ArgumentParser(prog="PROG", formatter_class=RichHelpFormatter) parser.add_argument("--hello", default="world", help="say hello to [default: %(default)s]") parser.print_help()
Using square brackets here is wrong since it is considered markup but it shouldn't crash.
The text was updated successfully, but these errors were encountered:
ValueError
help_markup
672f21e
Successfully merging a pull request may close this issue.
This program crashes with
ValueError: substring not found
Using square brackets here is wrong since it is considered markup but it shouldn't crash.
The text was updated successfully, but these errors were encountered: