From 8b4e50f74a34efebb40c949eae5ad873af911bff Mon Sep 17 00:00:00 2001 From: Nicolai Skogheim Date: Thu, 6 Aug 2015 05:58:25 +0200 Subject: [PATCH] guilt: remove --help option git overrides execution when --help is given, showing the man page for the command --- bin/git-guilt | 2 +- man/git-guilt.1 | 2 +- man/git-guilt.html | 4 ++-- man/git-guilt.md | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/git-guilt b/bin/git-guilt index 988ecdb..dffd40f 100755 --- a/bin/git-guilt +++ b/bin/git-guilt @@ -3,7 +3,7 @@ for param in $* do case $param in - -h|--help ) + -h) echo 'Usage: git-guilt [] ' echo 'Calculates the change in blame between two revisions' echo 'Example: git guilt HEAD~3 HEAD' diff --git a/man/git-guilt.1 b/man/git-guilt.1 index 0752403..9b3b38d 100644 --- a/man/git-guilt.1 +++ b/man/git-guilt.1 @@ -19,7 +19,7 @@ In the first form, shows total blame count for files with unstaged changes\. In the second form, calculates the change in blame between two revisions\. If not specified, will default to HEAD\. . .SH "OPTIONS" -\-h, \-\-help +\-h . .P Output usage information diff --git a/man/git-guilt.html b/man/git-guilt.html index c6b7593..83ceb20 100644 --- a/man/git-guilt.html +++ b/man/git-guilt.html @@ -88,7 +88,7 @@ If not specified, <until> will default to HEAD.

OPTIONS

-

-h, --help

+

-h

Output usage information

@@ -148,7 +148,7 @@ spacewander +++++++++++++++++++++++++++++++++++++++++++++(112)

AUTHOR

-

Written by spacewander <spacewanderlzx@gmail.com>

+

Written by spacewander <spacewanderlzx@gmail.com>

REPORTING BUGS

diff --git a/man/git-guilt.md b/man/git-guilt.md index 983ed1a..2397673 100644 --- a/man/git-guilt.md +++ b/man/git-guilt.md @@ -15,7 +15,7 @@ If not specified, <until> will default to HEAD. ## OPTIONS - -h, --help + -h Output usage information