Commit aa6d5ab6 authored by KatolaZ's avatar KatolaZ

added list of available command when called without one

parent ab5708f5
......@@ -320,7 +320,7 @@ handle_stage(){
case $(basename $0) in
"d1h")
if [ "$#" -eq 0 ]; then
echo "Usage: $0 <command> [options]"
echo "Usage: $0 {cache|search|import|link|prepare|switch|dismiss|testbuild|stage} [options]"
exit ${ERR_PARAM}
fi
;;
......@@ -379,7 +379,7 @@ case "$1" in
handle_stage $@
;;
*)
echo "Unknown command: $0"
echo "Unknown command: $1"
exit ${ERR_PARAM};
;;
esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment