mirror of
https://github.com/Jonny007-MKD/OTR-SaneRename
synced 2025-02-02 10:31:16 +01:00
Little more usage help
This commit is contained in:
parent
8126e217e4
commit
e70ffab4d7
1 changed files with 7 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue