equal
deleted
inserted
replaced
156 help="set initial section level manually", |
156 help="set initial section level manually", |
157 action="store", type="int", default=0) |
157 action="store", type="int", default=0) |
158 |
158 |
159 (options, args) = optparser.parse_args() |
159 (options, args) = optparser.parse_args() |
160 |
160 |
161 ui = uimod.ui() |
161 ui = uimod.ui.load() |
162 ui.setconfig('ui', 'verbose', options.verbose, '--verbose') |
162 ui.setconfig('ui', 'verbose', options.verbose, '--verbose') |
163 ui.setconfig('ui', 'debug', options.debug, '--debug') |
163 ui.setconfig('ui', 'debug', options.debug, '--debug') |
164 |
164 |
165 if options.file: |
165 if options.file: |
166 if checkfile(ui, options.file, options.initlevel): |
166 if checkfile(ui, options.file, options.initlevel): |