Skip to content

Commit

Permalink
Don't allow user to specify unimplemented compression mode 'message' (#…
Browse files Browse the repository at this point in the history
…415)

Signed-off-by: Emerson Knapp <[email protected]>
  • Loading branch information
emersonknapp authored May 21, 2020
1 parent 02f2e49 commit 75c8126
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ros2bag/ros2bag/verb/record.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ def add_arguments(self, parser, cli_name): # noqa: D102
)
parser.add_argument(
'--compression-mode', type=str, default='none',
choices=['none', 'file', 'message'],
help="Determine whether to compress by file or message. Default is 'none'."
choices=['none', 'file'],
help='Determine whether to compress bag files. Default is "none".'
)
parser.add_argument(
'--compression-format', type=str, default='', choices=['zstd'],
Expand Down

0 comments on commit 75c8126

Please sign in to comment.