diff options
author | Jim Meyering <jim@meyering.net> | 2005-12-03 22:23:23 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-12-03 22:23:23 +0000 |
commit | 08a0a7291f9696681e541f81aba1424308282c4c (patch) | |
tree | cca48feaa88d3cff0be35c3da554937aca9fca67 | |
parent | 43233c319e3c8d829824cd16ad99b1acc47dde6d (diff) | |
download | coreutils-08a0a7291f9696681e541f81aba1424308282c4c.tar.xz |
(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.
-rw-r--r-- | src/head.c | 2 | ||||
-rw-r--r-- | src/tail.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/head.c b/src/head.c index df6493080..95100250d 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 c9b0c4ac8..75fe9779d 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}, |