Commit 0164c5bd authored by Vincent Pelletier's avatar Vincent Pelletier

Split output argument group per format.

parent 0011191e
......@@ -1019,7 +1019,7 @@ def main():
'correction is made. Output may be unusable (ex: different --apdex, '
'different --period, ...).')
group = parser.add_argument_group('generated content')
group = parser.add_argument_group('generated content (all formats)')
group.add_argument('-a', '--apdex', default=1.0, type=float,
help='First threshold for Apdex computation, in seconds. '
'Default: %(default).2fs')
......@@ -1033,6 +1033,8 @@ def main():
'performance, as each period increase requires re-dispatching already '
'processed data. To mitigate this, provide earliest and latest log '
'files before all others (ex: log0 log3 log1 log2).')
group = parser.add_argument_group('generated content (html)')
group.add_argument('-s', '--stats', action='store_true',
help='Enable parsing stats (time spent parsing input, time spent '
'generating output, ...)')
......@@ -1040,10 +1042,9 @@ def main():
# Force embedding when file container is unknown (ex: pkg_resources).
# XXX: allow when --js is also provided ?
group.add_argument('--js', default=abs_file_container,
help='Folder containing needed js files when format is "html". '
'Default: %(default)s')
help='Folder containing needed js files. Default: %(default)s')
group.add_argument('--js-embed', action='store_true',
help='Embed js files instead of linking to them when format is "html".')
help='Embed js files instead of linking to them.')
group = parser.add_argument_group('site matching', 'Earlier arguments take '
'precedence. For example: --skip-base "/foo/bar(/|$|\\?)" '
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment