Revision 3ccb3a64 tools/cfgupgrade
b/tools/cfgupgrade | ||
---|---|---|
97 | 97 |
|
98 | 98 |
# Option parsing |
99 | 99 |
parser = optparse.OptionParser(usage="%prog [--debug|--verbose] [--force]") |
100 |
parser.add_option('--dry-run', dest='dry_run',
|
|
100 |
parser.add_option("--dry-run", dest="dry_run",
|
|
101 | 101 |
action="store_true", |
102 | 102 |
help="Try to do the conversion, but don't write" |
103 | 103 |
" output file") |
... | ... | |
107 | 107 |
parser.add_option("--ignore-hostname", dest="ignore_hostname", |
108 | 108 |
action="store_true", default=False, |
109 | 109 |
help="Don't abort if hostname doesn't match") |
110 |
parser.add_option('--path', help="Convert configuration in this"
|
|
110 |
parser.add_option("--path", help="Convert configuration in this"
|
|
111 | 111 |
" directory instead of '%s'" % constants.DATA_DIR, |
112 | 112 |
default=constants.DATA_DIR, dest="data_dir") |
113 | 113 |
parser.add_option("--no-verify", |
Also available in: Unified diff