summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-09-15 18:41:52 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-09-15 18:42:04 +0200
commit517ff7bbc4aa439d81f455084fb7778fd9ee14c4 (patch)
treed9c0dc7361cbf2e93dc504a4c7f6c30d1c869f32
parentadea3d663bec65e08609a6feed4ce9a44ca03702 (diff)
downloadvendor_replicant-517ff7bbc4aa439d81f455084fb7778fd9ee14c4.tar.gz
vendor_replicant-517ff7bbc4aa439d81f455084fb7778fd9ee14c4.tar.bz2
vendor_replicant-517ff7bbc4aa439d81f455084fb7778fd9ee14c4.zip
build.sh: usage: fix non-optional argument
Without that fix the help looks like that: ./build.sh [espresso3g|espressowifi|i9100|i9300|i9305|maguro|...] The issue here is that square brackets are commonly used to indicate optional arguments, but here an argument is required. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rwxr-xr-xbuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index e9fa57f6..645e5472 100755
--- a/build.sh
+++ b/build.sh
@@ -30,11 +30,11 @@ supported_machines=" \
usage()
{
- printf "%s [" "$0"
+ printf "%s <" "$0"
for machine in ${supported_machines} ; do
printf "${machine}|"
done
- printf "\b]\n"
+ printf "\b>\n"
printf "%s all # build all machines\n" "$0"
exit 1
}