Skip to content

Clarify %(prog)s in argparse help formatter returns basename of sys.argv[0] by default #72179

Closed
@py-user

Description

@py-user
mannequin
BPO 27992
Nosy @rhettinger, @py-user, @tirkarthi
PRs
  • bpo-27992: Clarify %(prog)s in argparse help formatter for sys.argv[0] #12717
  • Files
  • argparse_sys-argv-0-part.diff: Specifies term
  • argparse_sys-argv-0-basename.diff: Specifies term to basename
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2016-09-07.03:10:52.945>
    labels = ['3.7', '3.8', 'type-bug', 'library', 'docs']
    title = 'Clarify %(prog)s in argparse help formatter returns basename of sys.argv[0] by default'
    updated_at = <Date 2019-10-24.08:47:12.535>
    user = 'https://github.com/py-user'

    bugs.python.org fields:

    activity = <Date 2019-10-24.08:47:12.535>
    actor = 'xtreak'
    assignee = 'docs@python'
    closed = False
    closed_date = None
    closer = None
    components = ['Documentation', 'Library (Lib)']
    creation = <Date 2016-09-07.03:10:52.945>
    creator = 'py.user'
    dependencies = []
    files = ['44420', '48245']
    hgrepos = []
    issue_num = 27992
    keywords = ['patch']
    message_count = 4.0
    messages = ['274729', '339287', '339557', '339558']
    nosy_count = 5.0
    nosy_names = ['rhettinger', 'docs@python', 'py.user', 'paul.j3', 'xtreak']
    pr_nums = ['12717']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue27992'
    versions = ['Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of lifedocsDocumentation in the Doc dirstdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions