]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(long_options): Change the name of each undocumented, for-
authorJim Meyering <jim@meyering.net>
Sat, 3 Dec 2005 22:23:23 +0000 (22:23 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 3 Dec 2005 22:23:23 +0000 (22:23 +0000)
testing-only option to start with `-', so that it cannot render
ambiguous any prefix it happens to share with some other option name.

src/head.c
src/tail.c

index df64930804ab3e066aab13109324c9fc794d399e..95100250d6c7888880602dd8416b1e35787dc3ad 100644 (file)
@@ -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'},
index c9b0c4ac8d60f1a79a03b520517bf766615e5a36..75fe9779d613041f261e277111ec390d04b6f3d9 100644 (file)
@@ -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},