Show More
@@ -127,6 +127,9 b' option.' | |||
|
127 | 127 | optparser.add_option("-v", "--verbose", |
|
128 | 128 | help="enable additional output", |
|
129 | 129 | action="store_true") |
|
130 | optparser.add_option("-d", "--debug", | |
|
131 | help="debug mode", | |
|
132 | action="store_true") | |
|
130 | 133 | optparser.add_option("-f", "--file", |
|
131 | 134 | help="filename to read in (or '-' for stdin)", |
|
132 | 135 | action="store", default="") |
@@ -152,6 +155,7 b' option.' | |||
|
152 | 155 | |
|
153 | 156 | ui = uimod.ui() |
|
154 | 157 | ui.setconfig('ui', 'verbose', options.verbose, '--verbose') |
|
158 | ui.setconfig('ui', 'debug', options.debug, '--debug') | |
|
155 | 159 | |
|
156 | 160 | if options.file: |
|
157 | 161 | if checkfile(ui, options.file, options.initlevel): |
General Comments 0
You need to be logged in to leave comments.
Login now