diff --git a/ros2topic/ros2topic/verb/pub.py b/ros2topic/ros2topic/verb/pub.py index 3b78ce9d7..a93f909b8 100644 --- a/ros2topic/ros2topic/verb/pub.py +++ b/ros2topic/ros2topic/verb/pub.py @@ -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 . ' + help='YAML file that has message contents, prevails . ' 'e.g STDOUT from ros2 topic echo ') parser.add_argument( '-n', '--node-name', @@ -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