add a --title option to the report command
Change-Id: I0ed8bbed995e637ef5526ae3fc8d7c3ac4214fb8 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
33b135fe9a
commit
371fb0ff76
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
features:
|
||||
- |
|
||||
Add a ``--title`` option to the report command.
|
|
@ -145,6 +145,11 @@ def main(argv=sys.argv[1:]):
|
|||
action='store_false',
|
||||
help='do not show the source for notes',
|
||||
)
|
||||
do_report.add_argument(
|
||||
'--title',
|
||||
default='Release Notes',
|
||||
help='set the main title of the generated report',
|
||||
)
|
||||
_build_query_arg_group(do_report)
|
||||
do_report.set_defaults(func=report.report_cmd)
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ def report_cmd(args, conf):
|
|||
ldr,
|
||||
conf,
|
||||
versions,
|
||||
title='Release Notes',
|
||||
title=args.title,
|
||||
show_source=args.show_source,
|
||||
)
|
||||
if args.output:
|
||||
|
|
Loading…
Reference in New Issue