8000 Use consistent quotes in help messages by jacobperron · Pull Request #517 · ros2/ros2cli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use consistent quotes in help messages #517

Merged
merged 1 commit into from
May 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ros2interface/ros2interface/verb/proto.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class ProtoVerb(VerbExtension):
def add_arguments(self, parser, cli_name):
arg = parser.add_argument(
'type',
help='Show an interface definition (e.g. "std_msgs/msg/String")')
help="Show an interface definition (e.g. 'std_msgs/msg/String')")
arg.completer = type_completer
parser.add_argument(
'--no-quotes', action='store_true',
Expand Down
2 changes: 1 addition & 1 deletion ros2interface/ros2interface/verb/show.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class ShowVerb(VerbExtension):
def add_arguments(self, parser, cli_name):
arg = parser.add_argument(
'type',
help='Show an interface definition (e.g. "std_msgs/msg/String")')
help="Show an interface definition (e.g. 'std_msgs/msg/String')")
arg.completer = type_completer

def main(self, *, args):
Expand Down
2 changes: 1 addition & 1 deletion ros2service/ros2service/verb/call.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def add_arguments(self, parser, cli_name):
arg = parser.add_argument(
'values', nargs='?', default='{}',
help='Values to fill the service request with in YAML format ' +
'(e.g. "{a: 1, b: 2}"), ' +
"(e.g. '{a: 1, b: 2}'), " +
'otherwise the service request will be published with default values')
arg.completer = ServicePrototypeCompleter(
service_type_key='service_type')
Expand Down
2 changes: 1 addition & 1 deletion ros2topic/ros2topic/verb/pub.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def add_arguments(self, parser, cli_name):
arg = parser.add_argument(
'values', nargs='?', default='{}',
help='Values to fill the message with in YAML format '
'(e.g. "data: Hello World"), '
"(e.g. 'data: Hello World'), "
'otherwise the message will be published with default values')
arg.completer = TopicMessagePrototypeCompleter(
topic_type_key='message_type')
Expand Down
0