From 43233c319e3c8d829824cd16ad99b1acc47dde6d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 3 Dec 2005 22:23:09 +0000 Subject: [PATCH] (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. --- src/rm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rm.c b/src/rm.c index 4b19999702..2fdaa92af5 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'}, -- 2.47.3