From 6beaa76225b01e481e267563d7a676586d183883 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Thu, 18 Sep 2025 10:57:02 +0200 Subject: [PATCH] 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 --- misc-utils/getopt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)")); -- 2.47.3