From 9982e85bac7fbb59f22924f740591420588a7174 Mon Sep 17 00:00:00 2001 From: Ivan Perez Date: Mon, 15 Jan 2024 03:33:44 +0000 Subject: [PATCH] Remove duplicate argument in call to `ros2 pkg create` (#4103) The tutorial page to create the first ROS2 package instructs users to pass the `--license` argument twice when calling `ros2 pkg create`. Using `--license` twice has the effect that the first license in the argument list is ignored. There's no point in adding this twice, it just confuses users and makes the line longer. This commit removes the second `--license Apache-2.0` in the line for both the CMake and Python variants of the command. --- .../Creating-Your-First-ROS2-Package.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Tutorials/Beginner-Client-Libraries/Creating-Your-First-ROS2-Package.rst b/source/Tutorials/Beginner-Client-Libraries/Creating-Your-First-ROS2-Package.rst index 5e9a911af42..dfae1690740 100644 --- a/source/Tutorials/Beginner-Client-Libraries/Creating-Your-First-ROS2-Package.rst +++ b/source/Tutorials/Beginner-Client-Libraries/Creating-Your-First-ROS2-Package.rst @@ -180,13 +180,13 @@ Enter the following command in your terminal: .. code-block:: console - ros2 pkg create --build-type ament_cmake --license Apache-2.0 --node-name my_node my_package --license Apache-2.0 + ros2 pkg create --build-type ament_cmake --license Apache-2.0 --node-name my_node my_package .. group-tab:: Python .. code-block:: console - ros2 pkg create --build-type ament_python --license Apache-2.0 --node-name my_node my_package --license Apache-2.0 + ros2 pkg create --build-type ament_python --license Apache-2.0 --node-name my_node my_package You will now have a new folder within your workspace's ``src`` directory called ``my_package``.