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:
parent
85263b65cc
commit
76e6685a15
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user