From: Jim Meyering Date: Sat, 3 Dec 2005 22:23:23 +0000 (+0000) Subject: (long_options): Change the name of each undocumented, for- X-Git-Tag: v6.0~1219 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08a0a7291f9696681e541f81aba1424308282c4c;p=thirdparty%2Fcoreutils.git (long_options): Change the name of each undocumented, for- testing-only option to start with `-', so that it cannot render ambiguous any prefix it happens to share with some other option name. --- diff --git a/src/head.c b/src/head.c index df64930804..95100250d6 100644 --- a/src/head.c +++ b/src/head.c @@ -88,7 +88,7 @@ static struct option const long_options[] = { {"bytes", required_argument, NULL, 'c'}, {"lines", required_argument, NULL, 'n'}, - {"presume-input-pipe", no_argument, NULL, + {"-presume-input-pipe", no_argument, NULL, PRESUME_INPUT_PIPE_OPTION}, /* do not document */ {"quiet", no_argument, NULL, 'q'}, {"silent", no_argument, NULL, 'q'}, diff --git a/src/tail.c b/src/tail.c index c9b0c4ac8d..75fe9779d6 100644 --- a/src/tail.c +++ b/src/tail.c @@ -203,7 +203,7 @@ static struct option const long_options[] = {"lines", required_argument, NULL, 'n'}, {"max-unchanged-stats", required_argument, NULL, MAX_UNCHANGED_STATS_OPTION}, {"pid", required_argument, NULL, PID_OPTION}, - {"presume-input-pipe", no_argument, NULL, + {"-presume-input-pipe", no_argument, NULL, PRESUME_INPUT_PIPE_OPTION}, /* do not document */ {"quiet", no_argument, NULL, 'q'}, {"retry", no_argument, NULL, RETRY_OPTION},