From a089764de26d895cdaceaed49ed7717b31ae9325 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mario=20Bl=C3=A4ttermann?= Date: Wed, 3 Sep 2025 19:47:39 +0200 Subject: [PATCH] Fix typo and markup in getopt.1.adoc --- misc-utils/getopt.1.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc-utils/getopt.1.adoc b/misc-utils/getopt.1.adoc index 5fa729a52..7322038f1 100644 --- a/misc-utils/getopt.1.adoc +++ b/misc-utils/getopt.1.adoc @@ -60,7 +60,7 @@ Test if your *getopt*(1) is this enhanced version or an old version. This genera Do not quote the output. Note that whitespace and special (shell-dependent) characters can cause havoc in this mode (like they do with other *getopt*(1) implementations). *-U*, *--unknown*:: -Leave unknown options as they are and surpress error messages from *getopt(3)*. Since there is no way to know whether an unknown option requires an argument, a non-option argument that follows the unknown option after a whitespace, is considered an option argument, therefore the argument will be left untouched and printed next to the respective unknown option. To prevent unexpected behavior, short options should be specified individually. +Leave unknown options as they are and suppress error messages from *getopt*(3). Since there is no way to know whether an unknown option requires an argument, a non-option argument that follows the unknown option after a whitespace, is considered an option argument, therefore the argument will be left untouched and printed next to the respective unknown option. To prevent unexpected behavior, short options should be specified individually. include::man-common/help-version.adoc[] -- 2.47.3