adding -h
authorVolker Birk <vb@pep-project.org>
Sat, 09 Jul 2016 16:47:45 +0200
changeset 81845c3c2836b67
parent 817 9a609cdcf976
child 819 72e21a35eb23
child 822 56711daa3526
adding -h
db/mkpass
     1.1 --- a/db/mkpass	Sat Jul 09 16:40:50 2016 +0200
     1.2 +++ b/db/mkpass	Sat Jul 09 16:47:45 2016 +0200
     1.3 @@ -3,6 +3,10 @@
     1.4  if [ $1/ == / ] ; then
     1.5      lang=en
     1.6  else
     1.7 +    if [ $1/ == -h/ -o $2/ != / ] ; then
     1.8 +        echo usage: $0 [ISO 639 language code]
     1.9 +        exit 0
    1.10 +    fi
    1.11      lang=$1
    1.12  fi
    1.13