mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
guilt: remove --help option
git overrides execution when --help is given, showing the man page for the command
This commit is contained in:
parent
aeebb1c1c1
commit
8b4e50f74a
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ If not specified, <until> 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 <<a href="mailto:spacewanderlzx@gmail.com" data-bare-link="true">spacewanderlzx@gmail.com</a>></p>
|
||||
<p>Written by spacewander <<a href="mailto:spacewanderlzx@gmail.com" data-bare-link="true">spacewanderlzx@gmail.com</a>></p>
|
||||
|
||||
<h2 id="REPORTING-BUGS">REPORTING BUGS</h2>
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ If not specified, <until> will default to HEAD.
|
|||
|
||||
## OPTIONS
|
||||
|
||||
-h, --help
|
||||
-h
|
||||
|
||||
Output usage information
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue