1
0
mirror of https://github.com/r4sas/py-i2phosts synced 2025-03-09 20:01:18 +00:00

py-i2phosts-checker: add --config option

This commit is contained in:
Hidden Z 2010-10-29 20:48:44 +00:00
parent 85263b65cc
commit 76e6685a15

View File

@ -24,7 +24,9 @@ parser = argparse.ArgumentParser(
description='Hosts checker for py-i2phosts.',
epilog='Report bugs to http://zzz.i2p/topics/733')
parser.add_argument('-d', '--debug', action='store_true',
help='enable debug messages')
help='write debug messages to stdout'),
parser.add_argument('-c', '--config', default='/etc/py-i2phosts/checker.conf', dest='config_file',
help='config file to use')
args = parser.parse_args()
# configure logger