From 9ff30d9caa19f75d2b7f4240b58e2754f085085b Mon Sep 17 00:00:00 2001 From: Jybz Date: Fri, 19 Feb 2021 21:33:49 +0100 Subject: Fix double help function in build_all.sh --- build_all.sh | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/build_all.sh b/build_all.sh index 818b446..81dd93c 100755 --- a/build_all.sh +++ b/build_all.sh @@ -32,14 +32,11 @@ CONFIG_FILE_ERROR=-1 unset exit function help() { - echo -e "${CMDNAME} [option]" + echo -e "${CMDNAME} [option]\n" + echo -e "Synopsis:" + echo -e "\tGenerates Mageia images for all SBC defined in the mageia4arm.conf.json file.\n" echo -e "Options:" - echo -e "--config file Specify a config file, by default /etc/mageia4arm.conf.json" -} - -function help() { - echo -e "${CMDNAME}" - echo -e "Generates Mageia images for all SBC defined in the mageia4arm.conf.json file." + echo -e "\t--config file Specify a config file, by default /etc/mageia4arm.conf.json" } case $(hostname) in -- cgit v1.2.1