Add argument for path to source

This commit is contained in:
Nick Østergaard 2016-08-02 17:58:48 +02:00
parent 4f450743f2
commit 8388e1761e
1 changed files with 5 additions and 1 deletions

View File

@ -16,6 +16,7 @@ display_help() {
echo "Usage: $0 [-k] [-p] [locale]"
echo " -k keep pot template and not delete it"
echo " -p plot the translation statistics [requires python with matplotlib]"
echo " -s=<path> path to kicad source code"
exit
}
@ -34,8 +35,11 @@ case $i in
PLOT=1
shift
;;
-s=*)
SOURCEDIR="${i#*=}"
shift
;;
*)
#echo "Unknown option, see the help info below:"
SINGLE_LANG=$i
;;
esac