This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new 5a0be0fe8 tools/mkimport.sh: enrich help message
5a0be0fe8 is described below

commit 5a0be0fe8c1e8994f31219930bb9bdd31818b621
Author: Yanfeng Liu <[email protected]>
AuthorDate: Thu May 9 11:50:02 2024 +0800

    tools/mkimport.sh: enrich help message
    
    This enrichs the help message for `tools/mkimport.sh`
    
    Signed-off-by: Yanfeng Liu <[email protected]>
---
 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 <ext>] -x <export-path>"
+USAGE="
+
+DESCRIPTION:
+
+  Preparing folder 'import/' using the export package from NuttX kernel
+  build.
+
+USAGE: $0 [-d] [-z] [-l <ext>] -x <export-package>
+
+Where:
+
+  -d enable debugging output
+  -h show this help message
+  -l <ext> extension of library file (default is .a)
+  -x <export-package> 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
                        ;;
                * )

Reply via email to