|
|
@ -186,8 +186,8 @@ class PreCommitChecker(Env): |
|
|
|
parser = argparse.ArgumentParser(description='RocksDB pre-commit checker.') |
|
|
|
parser = argparse.ArgumentParser(description='RocksDB pre-commit checker.') |
|
|
|
|
|
|
|
|
|
|
|
# --log <logfile> |
|
|
|
# --log <logfile> |
|
|
|
parser.add_argument('--logfile', default='/tmp/precommit-log', |
|
|
|
parser.add_argument('--logfile', default='/tmp/precommit-check.log', |
|
|
|
help='Log file. Default is /tmp/precommit-log') |
|
|
|
help='Log file. Default is /tmp/precommit-check.log') |
|
|
|
# --ignore_failure |
|
|
|
# --ignore_failure |
|
|
|
parser.add_argument('--ignore_failure', action='store_true', default=False, |
|
|
|
parser.add_argument('--ignore_failure', action='store_true', default=False, |
|
|
|
help='Stop when an error occurs') |
|
|
|
help='Stop when an error occurs') |
|
|
|