Skip to content

argparse required arguments displayed under "optional arguments" #53903

Closed
@benschmaus

Description

@benschmaus
BPO 9694
Nosy @rhettinger, @terryjreedy, @ericvsmith, @merwok, @bitdancer, @vadmium, @mgrandi, @hroncok, @maggyero, @jacktose
PRs
  • bpo-9694: Fix misleading phrase "optional arguments" #23858
  • Files
  • argparse-help-says-required-args-are-optional.py
  • alt_grouping.py
  • helpgroups.diff
  • alt_grouping2.py: Script demonstrating helpgroups.diff patch
  • parrot.py: Script to test alternate wording
  • argparse_option.patch
  • option-internal.patch
  • option-internal.patch
  • argparse_option.v2.patch
  • argparse_optional.txt: Survey of practices
  • 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 = 'https://github.com/rhettinger'
    closed_at = <Date 2020-12-23.17:41:40.125>
    created_at = <Date 2010-08-26.18:19:17.172>
    labels = ['type-bug', 'library', '3.10']
    title = 'argparse required arguments displayed under "optional arguments"'
    updated_at = <Date 2021-01-08.23:51:14.321>
    user = 'https://bugs.python.org/benschmaus'

    bugs.python.org fields:

    activity = <Date 2021-01-08.23:51:14.321>
    actor = 'hroncok'
    assignee = 'rhettinger'
    closed = True
    closed_date = <Date 2020-12-23.17:41:40.125>
    closer = 'rhettinger'
    components = ['Library (Lib)']
    creation = <Date 2010-08-26.18:19:17.172>
    creator = 'benschmaus'
    dependencies = []
    files = ['18654', '34065', '34073', '34074', '36528', '37200', '37461', '37505', '42370', '49692']
    hgrepos = []
    issue_num = 9694
    keywords = ['patch']
    message_count = 50.0
    messages = ['115017', '115019', '115021', '115023', '115032', '115037', '115038', '115045', '115048', '115058', '115059', '115069', '115109', '115117', '115148', '132327', '166183', '208659', '210808', '211121', '211125', '211132', '211205', '226279', '226286', '226290', '231189', '232715', '232928', '243290', '262273', '262297', '262315', '262323', '262553', '262893', '327376', '345542', '345545', '357750', '373997', '383399', '383402', '383404', '383617', '383627', '383650', '384677', '384684', '384700']
    nosy_count = 22.0
    nosy_names = ['rhettinger', 'terry.reedy', 'bethard', 'eric.smith', 'eric.araujo', 'r.david.murray', 'docs@python', 'benschmaus', 'tshepang', 'martin.panter', 'paul.j3', 'markgrandi', "Martin.d'Anjou", 'Oliver.Smith', 'rhartkopf', 'Albert White', 'tonygaetani', 'shaharg', 'hroncok', 'maggyero', 'Jacktose', 'kkarbowiak']
    pr_nums = ['23858']
    priority = 'low'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue9694'
    versions = ['Python 3.10']

    Metadata

    Metadata

    Assignees

    Labels

    3.10only security fixesstdlibPython 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