You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
393 B
12 lines
393 B
9 years ago
|
#!/usr/bin/env python3
|
||
|
|
||
|
import argparse
|
||
|
|
||
|
argparser = argparse.ArgumentParser()
|
||
|
|
||
|
argparser.add_argument("-v", "--verbose", action="store_true", help="show formatted file names")
|
||
|
argparser.add_argument("-b", "--backup-original", action="store_true", help="backup original config file")
|
||
|
argparser.add_argument("config_file", type=argparse.FileType('r'), nargs='+')
|
||
|
|
||
|
args = argparser.parse_args()
|