#!/bin/bash
function usage {
echo -e "\n Check changes on the branch of product"
echo " usage $0 [-bfth]"
echo " -o: Old projectname."
echo " -n: New projectname."
echo " -b: BaseVersionpath."
echo " "
exit 2
}
while getopts o:n:b:h opt
do
case $opt in
o) OLD_PROJECT="${OPTARG}";;
n) NEW_PROJECT="${OPTARG}";;
b) BASE_VERSION="${OPTARG}";;
h) usage ;;
*) echo "option do not exist."
usage ;;
esac
done