Index: systrace/profile_chrome/flags.py |
diff --git a/systrace/profile_chrome/flags.py b/systrace/profile_chrome/flags.py |
index e0c3019e6f847da4782fcd4177562716deca11b2..c95112367410768d980b4b72d5daa39b27f90c86 100644 |
--- a/systrace/profile_chrome/flags.py |
+++ b/systrace/profile_chrome/flags.py |
@@ -7,9 +7,10 @@ import optparse |
def OutputOptions(parser): |
output_options = optparse.OptionGroup(parser, 'Output options') |
- output_options.add_option('-o', '--output', help='Save trace output to file.') |
+ output_options.add_option('-o', '--output', dest='output_file', |
+ help='Save trace output to file.') |
output_options.add_option('--json', help='Save trace as raw JSON instead of ' |
- 'HTML.', action='store_true') |
+ 'HTML.', dest='write_json') |
output_options.add_option('--view', help='Open resulting trace file in a ' |
'browser.', action='store_true') |
return output_options |