removed arguments

This commit is contained in:
2020-07-16 01:30:23 +02:00
parent 78073ebc05
commit ed1fba43c0
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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"
+2 -2
View File
@@ -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