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/incubator-nuttx.git

commit dbc025bb88066addd640a9d4659130801963658c
Author: Adam Feuer <[email protected]>
AuthorDate: Mon Jul 6 12:36:40 2020 -0700

    add examples to usage info
    
    - as per PR feedback
---
 tools/checkrelease.sh | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/tools/checkrelease.sh b/tools/checkrelease.sh
index c1fb6cf..ef0aeac 100755
--- a/tools/checkrelease.sh
+++ b/tools/checkrelease.sh
@@ -96,13 +96,18 @@ function usage() {
     echo "Usage: $0 <URL-of-release-candidate-directory-or-release-name>"
     echo "   Given release name or release full URL, downloads all files in"
     echo "   in that directory (which should include nuttx and nuttx-apps"
-    echo "   sha512, asc, and tar.gz files, checks their SHA512 and GPG "
+    echo "   sha512, asc, and tar.gz files), checks the release SHA512 and GPG 
"
     echo "   signatures, and checks the unpacked directories for required "
     echo "   files. Creates a temporary directory to do its work in."
     echo
     echo "   nuttx and nuttx-apps tar.gz files are left in the current"
     echo "   directory."
     echo 
+    echo "Examples:"
+    echo
+    echo "  $0 9.1.0-RC1"
+    echo "  $0 
https://dist.apache.org/repos/dist/dev/incubator/nuttx/9.1.0-RC1/";
+    echo
 }
 
 if [ "-h" == "$1" ]; then

Reply via email to