From 34a096229ccadf895b2130bafa417e869c437b3c Mon Sep 17 00:00:00 2001 From: Adrian Byszuk Date: Wed, 17 Feb 2021 15:15:14 +0100 Subject: vendors: support deprecated param names (#1653) Co-authored-by: Adrian Byszuk --- scripts/vendors/compile-lattice.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'scripts/vendors/compile-lattice.sh') diff --git a/scripts/vendors/compile-lattice.sh b/scripts/vendors/compile-lattice.sh index a7cdfd7c3..2c42e2200 100755 --- a/scripts/vendors/compile-lattice.sh +++ b/scripts/vendors/compile-lattice.sh @@ -100,11 +100,11 @@ while [[ $# -gt 0 ]]; do GHDL="$2" # overwrite a potentially existing GHDL environment variable shift # skip argument ;; - --source) + --src|--source) SrcDir="$2" shift # skip argument ;; - --output) + --out|--output) DestDir="$2" shift # skip argument ;; @@ -163,9 +163,9 @@ if [[ $COMMAND -le 1 ]]; then echo " -H --halt-on-error Halt on error(s)." echo "" echo "Advanced options:" - echo " --ghdl Path to GHDL's executable, e.g. /usr/local/bin/ghdl" - echo " --output Name of the output directory, e.g. lattice" - echo " --source Path to the sources." + echo " --ghdl Path to GHDL's executable, e.g. /usr/local/bin/ghdl" + echo " --output Name of the output directory, e.g. lattice" + echo " --source Path to the sources." echo "" echo "Verbosity:" echo " -v --verbose Print verbose messages." -- cgit v1.2.3