forked from germedeb/aleta-postre
updated build: colored error text
This commit is contained in:
parent
af7dd90faf
commit
3712186bf7
|
@ -64,7 +64,9 @@ case "$@" in *e*|*export*|*-h*|*h*|*--help*|*help*|*r*|*restart*|*from-cero*|*a*
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ "$NOTOPTIONS" != thereis ] ; then
|
if [ "$NOTOPTIONS" != thereis ] ; then
|
||||||
printf "there is no options, exit."
|
printf "please add arguments.
|
||||||
|
type ${comple_color}./tasks/build.sh${reset_colors} --help to see all the arguments available
|
||||||
|
ERROR: there is no options, exit.\\n"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue