cpython icon indicating copy to clipboard operation
cpython copied to clipboard

gh-86463: Fix default prog in subparsers if usage is used in the main parser

Open serhiy-storchaka opened this issue 1 year ago • 0 comments

The usage parameter of argparse.ArgumentParser no longer affects the default value of the prog parameter in subparsers.

Previously the full custom usage of the main parser was used as the prog prefix in subparsers.

  • Issue: gh-86463

📚 Documentation preview 📚: https://cpython-previews--125891.org.readthedocs.build/

serhiy-storchaka avatar Oct 23 '24 17:10 serhiy-storchaka