helper/command: log an error for commands without usage
[openocd.git] / tools / checkpatch.sh
blobe1dd267f9770b6f3eda0ed3c801a4778a9b929f8
1 #!/bin/sh
4 since=${1:-HEAD^}
5 git format-patch -M --stdout $since | tools/scripts/checkpatch.pl - --no-tree