diff options
| author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-09-15 18:41:52 +0200 |
|---|---|---|
| committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-09-15 18:42:04 +0200 |
| commit | 517ff7bbc4aa439d81f455084fb7778fd9ee14c4 (patch) | |
| tree | d9c0dc7361cbf2e93dc504a4c7f6c30d1c869f32 | |
| parent | adea3d663bec65e08609a6feed4ce9a44ca03702 (diff) | |
| download | vendor_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-x | build.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 } |
