From: Benno Schulenberg Date: Thu, 18 Sep 2025 08:57:02 +0000 (+0200) Subject: getopt: (usage) make the description of -U fit within 80 columns X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6beaa76225b01e481e267563d7a676586d183883;p=thirdparty%2Futil-linux.git getopt: (usage) make the description of -U fit within 80 columns (It is good practice to keep --help output from causing ugly wrapped text when printed to a standard 80-column terminal.) Signed-off-by: Benno Schulenberg --- diff --git a/misc-utils/getopt.c b/misc-utils/getopt.c index 180313cb4..68dba4597 100644 --- a/misc-utils/getopt.c +++ b/misc-utils/getopt.c @@ -372,7 +372,7 @@ static void __attribute__((__noreturn__)) usage(void) fputs(_(" -s, --shell set quoting conventions to those of \n"), stdout); fputs(_(" -T, --test test for getopt(1) version\n"), stdout); fputs(_(" -u, --unquoted do not quote the output\n"), stdout); - fputs(_(" -U, --unknown leave unknown options as they are and disable getopt(3) error messages\n"), stdout); + fputs(_(" -U, --unknown leave unknown options as they are (implies -q)\n"), stdout); fputs(USAGE_SEPARATOR, stdout); fprintf(stdout, USAGE_HELP_OPTIONS(31)); fprintf(stdout, USAGE_MAN_TAIL("getopt(1)"));