From 5a0be0fe8c1e8994f31219930bb9bdd31818b621 Mon Sep 17 00:00:00 2001 From: Yanfeng Liu Date: Thu, 9 May 2024 11:50:02 +0800 Subject: [PATCH] tools/mkimport.sh: enrich help message This enrichs the help message for `tools/mkimport.sh` Signed-off-by: Yanfeng Liu --- tools/mkimport.sh | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/tools/mkimport.sh b/tools/mkimport.sh index 6af33b0c9..e9e2e7664 100755 --- a/tools/mkimport.sh +++ b/tools/mkimport.sh @@ -19,7 +19,23 @@ # Get the input parameter list -USAGE="USAGE: $0 [-d] [-z] [-l ] -x " +USAGE=" + +DESCRIPTION: + + Preparing folder 'import/' using the export package from NuttX kernel + build. + +USAGE: $0 [-d] [-z] [-l ] -x + +Where: + + -d enable debugging output + -h show this help message + -l extension of library file (default is .a) + -x export package file name + -z expect gzip compressed tar ball +" unset EXPORT unset TGZ LIBEXT=.a @@ -41,7 +57,7 @@ while [ ! -z "$1" ]; do TGZ=y ;; -h ) - echo $USAGE + echo "$USAGE" exit 0 ;; * )