Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
apachedex
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xiaowu Zhang
apachedex
Commits
0164c5bd
Commit
0164c5bd
authored
Apr 10, 2013
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Split output argument group per format.
parent
0011191e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
apachedex/__init__.py
apachedex/__init__.py
+5
-4
No files found.
apachedex/__init__.py
View file @
0164c5bd
...
@@ -1019,7 +1019,7 @@ def main():
...
@@ -1019,7 +1019,7 @@ def main():
'correction is made. Output may be unusable (ex: different --apdex, '
'correction is made. Output may be unusable (ex: different --apdex, '
'different --period, ...).'
)
'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
,
group
.
add_argument
(
'-a'
,
'--apdex'
,
default
=
1.0
,
type
=
float
,
help
=
'First threshold for Apdex computation, in seconds. '
help
=
'First threshold for Apdex computation, in seconds. '
'Default: %(default).2fs'
)
'Default: %(default).2fs'
)
...
@@ -1033,6 +1033,8 @@ def main():
...
@@ -1033,6 +1033,8 @@ def main():
'performance, as each period increase requires re-dispatching already '
'performance, as each period increase requires re-dispatching already '
'processed data. To mitigate this, provide earliest and latest log '
'processed data. To mitigate this, provide earliest and latest log '
'files before all others (ex: log0 log3 log1 log2).'
)
'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'
,
group
.
add_argument
(
'-s'
,
'--stats'
,
action
=
'store_true'
,
help
=
'Enable parsing stats (time spent parsing input, time spent '
help
=
'Enable parsing stats (time spent parsing input, time spent '
'generating output, ...)'
)
'generating output, ...)'
)
...
@@ -1040,10 +1042,9 @@ def main():
...
@@ -1040,10 +1042,9 @@ def main():
# Force embedding when file container is unknown (ex: pkg_resources).
# Force embedding when file container is unknown (ex: pkg_resources).
# XXX: allow when --js is also provided ?
# XXX: allow when --js is also provided ?
group
.
add_argument
(
'--js'
,
default
=
abs_file_container
,
group
.
add_argument
(
'--js'
,
default
=
abs_file_container
,
help
=
'Folder containing needed js files when format is "html". '
help
=
'Folder containing needed js files. Default: %(default)s'
)
'Default: %(default)s'
)
group
.
add_argument
(
'--js-embed'
,
action
=
'store_true'
,
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 '
group
=
parser
.
add_argument_group
(
'site matching'
,
'Earlier arguments take '
'precedence. For example: --skip-base "/foo/bar(/|$|
\
\
?)" '
'precedence. For example: --skip-base "/foo/bar(/|$|
\
\
?)" '
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment