Commit 1379262c authored by Hanspeter Spalinger's avatar Hanspeter Spalinger
Browse files

add option to disable user lookup

parent 40587cce
......@@ -37,6 +37,7 @@ def main(argv):
parser = ArgumentParser(description="Parse crontab files and check each type of line for potential syntax errors.")
parser.add_argument('crontab', help='the crontab file to parse')
parser.add_argument('--whitelist','-w', action='append', dest='whitelisted_users', help='A user to ignore when warning of unrecognized users This argument may be passed multiple times.', default=None)
parser.add_argument('-n', '--no-check-passwd', action='store_false', dest='check_passwd', help='Disable user lookup')
args = parser.parse_args()
log = check.LogCounter()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment