]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Fix typo and markup in getopt.1.adoc
authorMario Blättermann <mario.blaettermann@gmail.com>
Wed, 3 Sep 2025 17:47:39 +0000 (19:47 +0200)
committerGitHub <noreply@github.com>
Wed, 3 Sep 2025 17:47:39 +0000 (19:47 +0200)
misc-utils/getopt.1.adoc

index 5fa729a52d33d4bbae2efdf16e93f71d7977ae9a..7322038f16aec5cffe14e2331455e76198043b5c 100644 (file)
@@ -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[]