Browse Source

removed arguments

master
radikal 3 years ago
parent
commit
ed1fba43c0
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      lch
  2. +2
    -2
      lch.1

+ 2
- 2
lch 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
lch.1 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


Loading…
Cancel
Save