Navigation Menu

Skip to content
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

Add non-command help topics to help completion of cmd.Cmd #50241

Closed
flub mannequin opened this issue May 10, 2009 · 2 comments
Closed

Add non-command help topics to help completion of cmd.Cmd #50241

flub mannequin opened this issue May 10, 2009 · 2 comments
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@flub
Copy link
Mannequin

flub mannequin commented May 10, 2009

BPO 5991
Nosy @birkenfeld
Files
  • cmd.diff
  • 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 = <Date 2010-01-06.18:02:33.302>
    created_at = <Date 2009-05-10.23:53:21.961>
    labels = ['type-feature', 'library']
    title = 'Add non-command help topics to help completion of cmd.Cmd'
    updated_at = <Date 2010-01-06.18:02:33.300>
    user = 'https://bugs.python.org/flub'

    bugs.python.org fields:

    activity = <Date 2010-01-06.18:02:33.300>
    actor = 'georg.brandl'
    assignee = 'none'
    closed = True
    closed_date = <Date 2010-01-06.18:02:33.302>
    closer = 'georg.brandl'
    components = ['Library (Lib)']
    creation = <Date 2009-05-10.23:53:21.961>
    creator = 'flub'
    dependencies = []
    files = ['13954']
    hgrepos = []
    issue_num = 5991
    keywords = ['patch']
    message_count = 2.0
    messages = ['87557', '97315']
    nosy_count = 2.0
    nosy_names = ['georg.brandl', 'flub']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue5991'
    versions = ['Python 2.7']

    @flub
    Copy link
    Mannequin Author

    flub mannequin commented May 10, 2009

    The cmd.Cmd module has a default complete_help() method which will
    complete all existing commands (methods starting with "do_"). It would
    be useful to complete all exising help topics too by default, i.e. all
    methods starting with "help_".

    The attached patch does this.

    @flub flub mannequin added stdlib Python modules in the Lib dir type-feature A feature request or enhancement labels May 10, 2009
    @birkenfeld
    Copy link
    Member

    Thanks for the patch; applied and fixed up a bit in r77332.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant