removed arguments
This commit is contained in:
@@ -112,13 +112,13 @@ function help()
|
|||||||
echo ""
|
echo ""
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ "$1" = "help" ] || [ "$1" = "--help" ] || [ "$1" = "-h" ]
|
if [ "$1" = "--help" ] || [ "$1" = "-h" ]
|
||||||
then
|
then
|
||||||
help
|
help
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$1" = "version" ] || [ "$1" = "--version" ] || [ "$1" = "-v" ]
|
if [ "$1" = "--version" ] || [ "$1" = "-v" ]
|
||||||
then
|
then
|
||||||
echo ""
|
echo ""
|
||||||
echo "lch $VERSION"
|
echo "lch $VERSION"
|
||||||
|
|||||||
@@ -24,10 +24,10 @@ extension.
|
|||||||
|
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.TP
|
||||||
\fIhelp, \-h, \-\-help\fP
|
\fI\-h, \-\-help\fP
|
||||||
Help: show syntax.
|
Help: show syntax.
|
||||||
.TP
|
.TP
|
||||||
\fIversion, \-v, \-\-version\fP
|
\fI\-v, \-\-version\fP
|
||||||
Print current version.
|
Print current version.
|
||||||
|
|
||||||
.SH EXAMPLES
|
.SH EXAMPLES
|
||||||
|
|||||||
Reference in New Issue
Block a user