From 19946c4172e55af96cbc58133fc5f28251a9abf2 Mon Sep 17 00:00:00 2001 From: Dirk Thomas Date: Fri, 30 Mar 2018 15:07:49 -0700 Subject: [PATCH] prefix node names with a dash to separate it from the empty line separating the results from separate queries --- test_rclcpp/test/node_name_list.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_rclcpp/test/node_name_list.cpp b/test_rclcpp/test/node_name_list.cpp index 38055b48..3c8af098 100644 --- a/test_rclcpp/test/node_name_list.cpp +++ b/test_rclcpp/test/node_name_list.cpp @@ -43,7 +43,7 @@ int main(int argc, char ** argv) printf("\n"); auto names = node->get_node_graph_interface()->get_node_names(); for (auto it : names) { - printf("%s\n", it.c_str()); + printf("- %s\n", it.c_str()); if (argc >= 2 && it == argv[1]) { printf(" found expected node name\n"); rc = 0;