guilt: remove --help option

git overrides execution when --help is given,
showing the man page for the command
This commit is contained in:
Nicolai Skogheim 2015-08-06 05:58:25 +02:00
parent aeebb1c1c1
commit 8b4e50f74a
4 changed files with 5 additions and 5 deletions

View file

@ -3,7 +3,7 @@
for param in $*
do
case $param in
-h|--help )
-h)
echo 'Usage: git-guilt [<options>] <since> <until>'
echo 'Calculates the change in blame between two revisions'
echo 'Example: git guilt HEAD~3 HEAD'

View file

@ -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, <until> will default to HEAD\.
.
.SH "OPTIONS"
\-h, \-\-help
\-h
.
.P
Output usage information

View file

@ -88,7 +88,7 @@ If not specified, &lt;until&gt; will default to HEAD.</p>
<h2 id="OPTIONS">OPTIONS</h2>
<p> -h, --help</p>
<p> -h</p>
<p> Output usage information</p>
@ -148,7 +148,7 @@ spacewander +++++++++++++++++++++++++++++++++++++++++++++(112)
<h2 id="AUTHOR">AUTHOR</h2>
<p>Written by spacewander &lt;<a href="&#x6d;&#97;&#x69;&#108;&#x74;&#x6f;&#x3a;&#115;&#112;&#97;&#99;&#x65;&#x77;&#97;&#x6e;&#100;&#101;&#114;&#108;&#122;&#120;&#64;&#x67;&#x6d;&#x61;&#x69;&#x6c;&#46;&#99;&#111;&#x6d;" data-bare-link="true">&#x73;&#112;&#97;&#x63;&#x65;&#119;&#97;&#110;&#100;&#101;&#114;&#x6c;&#122;&#120;&#x40;&#103;&#109;&#x61;&#105;&#x6c;&#x2e;&#99;&#111;&#x6d;</a>&gt;</p>
<p>Written by spacewander &lt;<a href="&#109;&#97;&#x69;&#x6c;&#116;&#111;&#58;&#115;&#x70;&#97;&#x63;&#101;&#x77;&#97;&#x6e;&#100;&#x65;&#114;&#x6c;&#x7a;&#x78;&#x40;&#103;&#x6d;&#x61;&#105;&#108;&#x2e;&#x63;&#111;&#x6d;" data-bare-link="true">&#x73;&#x70;&#97;&#99;&#x65;&#119;&#x61;&#110;&#100;&#x65;&#x72;&#108;&#122;&#x78;&#64;&#103;&#109;&#97;&#x69;&#108;&#x2e;&#x63;&#111;&#109;</a>&gt;</p>
<h2 id="REPORTING-BUGS">REPORTING BUGS</h2>

View file

@ -15,7 +15,7 @@ If not specified, &lt;until&gt; will default to HEAD.
## OPTIONS
-h, --help
-h
Output usage information