From f9d6a85b64c421a46109133b3d20fb3a86db45df Mon Sep 17 00:00:00 2001 From: germedeb Date: Sat, 1 Oct 2022 14:11:07 -0300 Subject: [PATCH] corrected NIY in the help and commented something --- tasks/build.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tasks/build.sh b/tasks/build.sh index 2624d12..913189b 100755 --- a/tasks/build.sh +++ b/tasks/build.sh @@ -42,13 +42,11 @@ ${info_color}Arguments:${reset_colors} -h --help help Show this help. -e --export Export the remaining icons -o --use-optipng Launch optipng process - -v --verbose Show more info. useful for debugging (NIY) + -v --verbose Show more info. useful for debugging -r --from-cero Copy the SVG again and start the build again -i --autoinstall Autoinstall to User directory -k --ignore-deps Don't check for dependencies. -NIY means Not Implemented Yet - This software is licensed under the GPLv3 and the CC-BY-SA 4.0 licenses. See README and LICENSE for more information\\n" exit 0; @@ -62,7 +60,7 @@ esac # here is the checking. it is sepparated for practicy if [ "$DEPSCOMPLETE" = n ]; then echo Please install the missing dependencies to start building - exit 2 + exit 1 fi # begin exportation and stuff @@ -73,6 +71,7 @@ case "$@" in *-e*|*--export*|*-h*|*--help*|*help*|*-r*|*--from-cero*|*-o*|*--use NOTOPTIONS=thereis esac +# if there is no options, say that and stop with an error if [ "$NOTOPTIONS" != thereis ]; then printf "please add at least one argument. (-k does not count.) type ${comple_color}./tasks/build.sh --help${reset_colors} to see all the arguments available