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

davids5 pushed a commit to branch master-help-checkpatch.sh
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit b9214f94564c839a76f7d8fac7df6866cd9145f7
Author: David Sidrane <david.sidr...@nscdg.com>
AuthorDate: Tue Mar 10 10:49:40 2020 -0700

    Add some helpful documentation in checkpatch.sh.
---
 tools/checkpatch.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tools/checkpatch.sh b/tools/checkpatch.sh
index b6731f5..48b9f29 100755
--- a/tools/checkpatch.sh
+++ b/tools/checkpatch.sh
@@ -29,11 +29,14 @@ usage() {
   echo "-h"
   echo "-c spell check with codespell(install with: pip install codespell)"
   echo "-r range check only (coupled with -p or -g)"
-  echo "-p <patch list> (default)"
+  echo "-p <patch file names> (default)"
   echo "-g <commit list>"
   echo "-f <file list>"
   echo "-  read standard input mainly used by git pre-commit hook as below:"
   echo "   git diff --cached | ./tools/checkpatch.sh -"
+  echo "Where a <commit list> is any syntax supported by git for specifying 
git revision, see GITREVISIONS(7)"
+  echo "Where a <patch file names> is a space separated list of patch file 
names or wildcard. or *.patch"
+ 
 }
 
 check_file() {

Reply via email to