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 ""
}
if [ "$1" = "help" ] || [ "$1" = "--help" ] || [ "$1" = "-h" ]
if [ "$1" = "--help" ] || [ "$1" = "-h" ]
then
help
exit 0
fi
if [ "$1" = "version" ] || [ "$1" = "--version" ] || [ "$1" = "-v" ]
if [ "$1" = "--version" ] || [ "$1" = "-v" ]
then
echo ""
echo "lch $VERSION"
+2 -2
View File
@@ -24,10 +24,10 @@ extension.
.SH OPTIONS
.TP
\fIhelp, \-h, \-\-help\fP
\fI\-h, \-\-help\fP
Help: show syntax.
.TP
\fIversion, \-v, \-\-version\fP
\fI\-v, \-\-version\fP
Print current version.
.SH EXAMPLES