Signed-off-by: Andres Salomon <dilinger@collabora.co.uk>
echo "" 1>&2
echo "Options:" 1>&2
echo " --config-type <config> directory name in configs/ to use" 1>&2
+ echo " --help display this help screen" 1>&2
echo " --local-apt-mirror <srcs> sources.list for local mirror" 1>&2
echo "" 1>&2
exit 1
LOCAL_APT_MIRROR="$2"
shift
;;
+ --help|-h)
+ usage
+ ;;
*)
if [ "$#" != "1" ]; then
echo "Unknown option $1" 1>&2
echo "" 1>&2
echo "Options:" 1>&2
echo " --config-type <config> directory name in configs/ to use" 1>&2
+ echo " --help display this help screen" 1>&2
echo "" 1>&2
exit 1
}
}
shift
;;
+ --help|-h)
+ usage
+ ;;
*)
ROOT_DIR="$1"
shift
echo "" 1>&2
echo "Options:" 1>&2
echo " --config-type <config> directory name in configs/ to use" 1>&2
+ echo " --help display this help screen" 1>&2
echo "" 1>&2
exit 1
}
}
shift
;;
+ --help|-h)
+ usage
+ ;;
*)
if [ "$#" != "2" ]; then
echo "Unknown option $1" 1>&2