Commit 3a47b90d authored by Vincent Pelletier's avatar Vincent Pelletier

Improve --*base* documentation.

parent 066cdf70
......@@ -407,20 +407,21 @@ def main():
group.add_argument('--js-embed', action='store_true',
help='Embed js files instead of linking to them.')
group = parser.add_argument_group('site matching')
group = parser.add_argument_group('site matching', 'Earlier arguments take '
'precedence. For example: --skip-base /foo/bar --base /foo generates '
'stats for /foo, excluding /foo/bar.')
group.add_argument('-d', '--default',
help='Caption for lines matching no prefix, or skip them if not provided.')
group.add_argument('--base', dest='path', default=[], nargs='+',
action=AggregateSiteUrl,
help='Absolute base url of some part of a site (see also '
'--erp5-base).')
help='Absolute base url(s) of some part of a site.')
group.add_argument('--erp5-base', dest='path', nargs='+',
action=AggregateSiteUrl,
help='Absolute base url of some part of an ERP5 site (extra '
'stats).')
help='Absolute base url(s) of some part of an ERP5 site (more '
'specific stats than --base).')
group.add_argument('--skip-base', dest='path', nargs='+',
action=AggregateSiteUrl,
help='Absolute base url to ignore.')
help='Absolute base url(s) to ignore.')
args = parser.parse_args()
line_regex = ''
......
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