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 new long_form_help rule #810

Closed
wants to merge 1 commit into from
Closed

Add new long_form_help rule #810

wants to merge 1 commit into from

Conversation

jakewarren
Copy link

Adds a new rule to help deal with programs that don't understand the -h short form of --help. Also attempts to determine the proper help command suggested by the tool (such as with go build -h -> go help build).

I don't work with Python much and this is my first time using pytest so I am open to suggestions.

nvbn added a commit that referenced this pull request May 22, 2018
commit 6919161e77a39b9bd59ca54eac44b956cd3ae1dc
Author: Vladimir Iakovlev <nvbn.rm@gmail.com>
Date:   Tue May 22 19:01:33 2018 +0200

    #810: Fix code style

commit ebbb31a3227ce32ba5288e96c0c16a3d334c45d6
Merge: 2df1a5a a2799ad
Author: Vladimir Iakovlev <nvbn.rm@gmail.com>
Date:   Tue May 22 18:59:56 2018 +0200

    Merge branch 'feature/long-form-help' of /~https://github.com/jakewarren/thefuck into jakewarren-feature/long-form-help

commit a2799ad
Author: Jake Warren <jakewarren@users.noreply.github.com>
Date:   Mon May 7 14:12:57 2018 -0500

    Add new `long_form_help` rule
@nvbn
Copy link
Owner

nvbn commented May 22, 2018

Thanks!

Changed code a bit for better suiting our code style and squashed it manually.

@nvbn nvbn closed this May 22, 2018
riley-martine pushed a commit to riley-martine/thefuck that referenced this pull request Dec 7, 2023
commit 6919161e77a39b9bd59ca54eac44b956cd3ae1dc
Author: Vladimir Iakovlev <nvbn.rm@gmail.com>
Date:   Tue May 22 19:01:33 2018 +0200

    nvbn#810: Fix code style

commit ebbb31a3227ce32ba5288e96c0c16a3d334c45d6
Merge: 071d1f5 a2799ad
Author: Vladimir Iakovlev <nvbn.rm@gmail.com>
Date:   Tue May 22 18:59:56 2018 +0200

    Merge branch 'feature/long-form-help' of /~https://github.com/jakewarren/thefuck into jakewarren-feature/long-form-help

commit a2799ad
Author: Jake Warren <jakewarren@users.noreply.github.com>
Date:   Mon May 7 14:12:57 2018 -0500

    Add new `long_form_help` rule
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants