summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-12-03 22:23:09 +0000
committerJim Meyering <jim@meyering.net>2005-12-03 22:23:09 +0000
commit43233c319e3c8d829824cd16ad99b1acc47dde6d (patch)
tree26eb921d6a5049e5add28a85678273a3a6a13019 /src
parent616fc42b4fa440e8be6b855e121c5801f8f67b7a (diff)
downloadcoreutils-43233c319e3c8d829824cd16ad99b1acc47dde6d.tar.xz
(long_opts): 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.
Diffstat (limited to 'src')
-rw-r--r--src/rm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rm.c b/src/rm.c
index 4b1999970..2fdaa92af 100644
--- a/src/rm.c
+++ b/src/rm.c
@@ -88,7 +88,7 @@ static struct option const long_opts[] =
/* It is relatively difficult to ensure that there is a tty on stdin.
Since rm acts differently depending on that, without this option,
it'd be harder to test the parts of rm that depend on that setting. */
- {"presume-input-tty", no_argument, NULL, PRESUME_INPUT_TTY_OPTION},
+ {"-presume-input-tty", no_argument, NULL, PRESUME_INPUT_TTY_OPTION},
{"recursive", no_argument, NULL, 'r'},
{"verbose", no_argument, NULL, 'v'},