Browse Source

Fix: print help message if unknown option is given

master
Harish.K 10 years ago
parent
commit
72442e008f
  1. 5
      bin/installer-script.sh

5
bin/installer-script.sh

@ -12,7 +12,7 @@ appRoot=$(readlink -f $(dirname $(readlink -f $0))/.. );
printHelp(){
cat<<EOF
installer-scripts --update | --check | --install <app_name> | --list
EOF
EOF
}
printPackages(){
@ -46,7 +46,8 @@ case $1 in
--check)
updateBinLinks;
;;
*)
printHelp;
esac

Loading…
Cancel
Save