Skip to content

Commit

Permalink
fix typos, should be YAML.
Browse files Browse the repository at this point in the history
Signed-off-by: Tomoya Fujita <[email protected]>
  • Loading branch information
fujitatomoya committed Sep 5, 2024
1 parent 4adef79 commit 07fb41b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ros2topic/ros2topic/verb/pub.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def add_arguments(self, parser, cli_name):
'(default: 0.1)')
parser.add_argument(
'--yaml-file', type=str, default=None,
help='Yaml file that has message contents, prevails <values>. '
help='YAML file that has message contents, prevails <values>. '
'e.g STDOUT from ros2 topic echo <topic>')
parser.add_argument(
'-n', '--node-name',
Expand Down Expand Up @@ -217,7 +217,7 @@ def timer_callback():
try:
one_msg = next(msg_reader)
if not isinstance(one_msg, dict):
print('The contents in yaml file need to be a YAML format')
print('The contents in YAML file need to be a YAML format')
except StopIteration:
nonlocal more_message
more_message = False
Expand Down

0 comments on commit 07fb41b

Please sign in to comment.