1
0
Fork 0
mirror of https://github.com/Jonny007-MKD/OTR-SaneRename synced 2024-05-16 23:14:04 +02:00

Little more usage help

This commit is contained in:
Jonny007-MKD 2015-04-07 22:18:19 +02:00
parent 8126e217e4
commit e70ffab4d7

View file

@ -74,8 +74,7 @@ function funcParam {
case "$OPTARG" in case "$OPTARG" in
de*) de*)
lang="de";; lang="de";;
en*) en*) ;&
lang="en";;
us*) us*)
lang="en";; lang="en";;
fr*) fr*)
@ -86,6 +85,9 @@ function funcParam {
esac;; esac;;
"?") # Help "?") # Help
echo "Usage: $0 -f pathToAvi [-s] [-l LANG]" echo "Usage: $0 -f pathToAvi [-s] [-l LANG]"
echo
echo "-s makes this script to only output the filename"
echo "-l lets you search TheTVDB in a different language"
exit;; exit;;
":") ":")
echo "No argument value for option $OPTARG" echo "No argument value for option $OPTARG"
@ -531,6 +533,9 @@ function doIt {
if [ -z "$path" ]; then # If no path was specified (-f) if [ -z "$path" ]; then # If no path was specified (-f)
echo "Usage: $0 -f pathToAvi [-s] [-l LANG]" echo "Usage: $0 -f pathToAvi [-s] [-l LANG]"
echo
echo "-s makes this script to only output the filename"
echo "-l lets you search TheTVDB in a different language"
exit 1 exit 1
fi fi