diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2013-01-09 16:00:10 +0000 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2013-01-31 15:23:40 -0800 |
commit | 99adf6eda7bed1beb3fa3e18951342f67b108db7 (patch) | |
tree | c2152ac5209d0da1f51f95e7d366cf69f7c8e5da /tools/updater/string.c | |
parent | 656cffeb49394f1cc935001f90337028e01472c5 (diff) | |
download | u-boot-imx-99adf6eda7bed1beb3fa3e18951342f67b108db7.zip u-boot-imx-99adf6eda7bed1beb3fa3e18951342f67b108db7.tar.gz u-boot-imx-99adf6eda7bed1beb3fa3e18951342f67b108db7.tar.bz2 |
patman: Allow use outside of u-boot tree
To make it usable in git trees not providing a patch checker
implementation, add a command line option, allowing to suppress patch
check. While we are at it, sort debug options alphabetically.
Also, do not raise an exception if checkpatch.pl is not found - just
print an error message suggesting to use the new option, and return
nonzero status.
. unit test passes:
$ ./patman -t
<unittest.result.TestResult run=7 errors=0 failures=0>
. successfully used patman in the autotest tree to generate a patch
email (with --no-check option)
. successfully used patman in the u-boot tree to generate a patch
email
. `patman --help' now shows command line options ordered
alphabetically
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Acked-by: Doug Anderson <dianders@chromium.org>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/updater/string.c')
0 files changed, 0 insertions, 0 deletions