simplifying options and code
This commit is contained in:
5 changed files with 35 additions and 38 deletions
@@ -21,9 +21,7 @@ from optparse import OptionParser
if __name__ == '__main__':
parser = OptionParser("%prog CONFIG [options]")
parser.add_option('-z', '--zero_byte_only', default=False,
action='store_true', help='Audit only zero byte files')
parser.add_option('-f', '--zero_byte_fps',
help='Override zero byte files per second in config.')
parser.add_option('-z', '--zero_byte_fps',
help='Audit only zero byte files at specified files/sec')
conf_file, options = parse_options(parser=parser, once=True)
run_daemon(ObjectAuditor, conf_file, **options)
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.