From: Pádraig Brady Date: Sat, 15 Nov 2025 13:42:51 +0000 (+0000) Subject: maint: tag supported options not documented in --help X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e05b875be8ce9d8005806d59c35dc57a0e8c7b65;p=thirdparty%2Fcoreutils.git maint: tag supported options not documented in --help --- diff --git a/src/cksum.c b/src/cksum.c index 35c89afee1..ac3e3f10ef 100644 --- a/src/cksum.c +++ b/src/cksum.c @@ -457,11 +457,11 @@ static struct option const long_options[] = { "raw", no_argument, nullptr, RAW_OPTION}, { "untagged", no_argument, nullptr, UNTAG_OPTION }, # endif - { "binary", no_argument, nullptr, 'b' }, - { "text", no_argument, nullptr, 't' }, + { "binary", no_argument, nullptr, 'b' }, /* Deprecated. */ + { "text", no_argument, nullptr, 't' }, /* Deprecated. */ #else - {"sysv", no_argument, nullptr, 's'}, + {"sysv", no_argument, nullptr, 's'}, /* Not in cksum. */ #endif { GETOPT_HELP_OPTION_DECL }, diff --git a/src/csplit.c b/src/csplit.c index f3fccfcd5d..90468e864f 100644 --- a/src/csplit.c +++ b/src/csplit.c @@ -187,7 +187,7 @@ enum static struct option const longopts[] = { {"digits", required_argument, nullptr, 'n'}, - {"quiet", no_argument, nullptr, 'q'}, + {"quiet", no_argument, nullptr, 'q'}, /* Deprecated. */ {"silent", no_argument, nullptr, 's'}, {"keep-files", no_argument, nullptr, 'k'}, {"elide-empty-files", no_argument, nullptr, 'z'}, diff --git a/src/date.c b/src/date.c index 91651e794f..2b944e79fd 100644 --- a/src/date.c +++ b/src/date.c @@ -92,11 +92,11 @@ static struct option const long_options[] = {"reference", required_argument, nullptr, 'r'}, {"resolution", no_argument, nullptr, RESOLUTION_OPTION}, {"rfc-email", no_argument, nullptr, 'R'}, - {"rfc-822", no_argument, nullptr, 'R'}, - {"rfc-2822", no_argument, nullptr, 'R'}, + {"rfc-822", no_argument, nullptr, 'R'}, /* Deprecated. */ + {"rfc-2822", no_argument, nullptr, 'R'}, /* Deprecated. */ {"rfc-3339", required_argument, nullptr, RFC_3339_OPTION}, {"set", required_argument, nullptr, 's'}, - {"uct", no_argument, nullptr, 'u'}, + {"uct", no_argument, nullptr, 'u'}, /* Deprecated. */ {"utc", no_argument, nullptr, 'u'}, {"universal", no_argument, nullptr, 'u'}, {GETOPT_HELP_OPTION_DECL},