Browse Source

Typo fixes

Christoph Biedl 3 years ago
parent
commit
0e6207e9a1
2 changed files with 46 additions and 0 deletions
  1. 3 0
      debian/patches/series
  2. 43 0
      debian/patches/upstream.typos.patch

+ 3 - 0
debian/patches/series

@@ -1,2 +1,5 @@
+# patches that should go upstream
+upstream.typos.patch
+
 # changes for the Debian packaging
 debian.build.patch

+ 43 - 0
debian/patches/upstream.typos.patch

@@ -0,0 +1,43 @@
+Description: Fix a typo
+Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
+Date: 2020-12-20
+Bug: https://github.com/Yepkit/ykush/issues/31
+
+--- a/src/help/ykush_help.cpp
++++ b/src/help/ykush_help.cpp
+@@ -45,7 +45,7 @@
+ 	std::cout << " ykush3\t\tYKUSH3 board.\n";
+ 	std::cout << " ykushxs\tYKUSHXS board.\n";
+ 	std::cout << "The [board_name] must be provided for commands addressed for a specific board.\n";
+-	std::cout << "For general or common commands, applicable to all board models, the [board_name] is to ommited from the command.\n";
++	std::cout << "For general or common commands, applicable to all board models, the [board_name] has to be omitted from the command.\n";
+ }
+ 
+ void Help::print_common_options(void)
+@@ -64,7 +64,7 @@
+ 
+ 	std::cout << "-u 1|2|3|a                Power Up/On downstream port number downstream_number\n";
+ 
+-	std::cout << "-s serial_number          Board serial number to wich the command is addressed.\n";
++	std::cout << "-s serial_number          Board serial number to which the command is addressed.\n";
+ 	std::cout << "                          When multiple YKUSH boards are connected to a host, this option should be used\n";
+ 	std::cout << "                          to specify the board. If more than one board is connected and this option is not\n";
+ 	std::cout << "                          provided the command will be sent to the first board in the USB enumeration list.\n";
+@@ -90,7 +90,7 @@
+ 
+ 	std::cout << "-u 1|2|3|a                Power Up/On downstream port number downstream_number\n";
+ 
+-	std::cout << "-s serial_number          Board serial number to wich the command is addressed.\n";
++	std::cout << "-s serial_number          Board serial number to which the command is addressed.\n";
+ 	std::cout << "                          When multiple YKUSH boards are connected to a host, this option should be used\n";
+ 	std::cout << "                          to specify the board. If more than one board is connected and this option is not\n";
+ 	std::cout << "                          provided the command will be sent to the first board in the USB enumeration list.\n";
+@@ -131,7 +131,7 @@
+ 
+ 	std::cout << "-u                        Power Up/On the downstream port\n";
+ 
+-	std::cout << "-s serial_number          Board serial number to wich the command is addressed.\n";
++	std::cout << "-s serial_number          Board serial number to which the command is addressed.\n";
+ 	std::cout << "                          When multiple YKUSHXS boards are connected to a host, this option should be used\n";
+ 	std::cout << "                          to specify the board. If more than one board is connected and this option is not\n";
+ 	std::cout << "                          provided the command will be sent to the first board in the USB enumeration list.\n";