Define output metavar to simplify ros2 trace-analysis convert usage info

Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
This commit is contained in:
Christophe Bedard 2020-03-13 18:13:55 -04:00
parent 7d6c51ae04
commit d4426257bf

View file

@ -33,7 +33,7 @@ def add_args(parser: argparse.ArgumentParser) -> None:
'trace_directory',
help='the path to the main trace directory')
parser.add_argument(
'-o', '--output-file-name', dest='output_file_name',
'-o', '--output-file', dest='output_file_name', metavar='OUTPUT',
default=DEFAULT_CONVERT_FILE_NAME,
help='the name of the output file to generate, '
'under $trace_directory (default: %(default)s)')