Add argument for path to source
This commit is contained in:
parent
4f450743f2
commit
8388e1761e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue