Bug #185
closed
On Fri, May 26, 2006 at 05:54:59PM +0200, Andreas Hauser wrote:
Hoi,
Add the -D flag, an alias to -d, which is used on other systems.
I object this one, since the -D flag has a different semantics e.g.
compared to the NetBSD version.
Joerg
Just curious, why not just do a pass through clause? Like this:
diff r 34c9cb8fd38c usr.bin/xinstall/xinstall.c
-- a/usr.bin/xinstall/xinstall.c Tue Apr 18 22:11:35 2006 0000
++ b/usr.bin/xinstall/xinstall.c Fri May 26 15:40:29 2006 0200
@ -128,6 +128,9
@ main(int argc, char *argv)
case 'c':
/ For backwards compatibility. /
break;
case 'D': /*Intentional Pass through/
case 'd':
dodir = 1;
break;
Adrian
On Fri, 2006-05-26 at 17:54 +0200, Andreas Hauser wrote:
Hoi,
Add the -D flag, an alias to -d, which is used on other systems.
All three of you are wrong :-)
You have to add 'D' to the getopt too, ho ho!
In anycase, I'll let Joerg make the commit.
-Matt
Matthew Dillon
<dillon@backplane.com>
joerg wrote @ Fri, 26 May 2006 18:06:13 +0200:
On Fri, May 26, 2006 at 05:54:59PM +0200, Andreas Hauser wrote:
Hoi,
Add the -D flag, an alias to -d, which is used on other systems.
I object this one, since the -D flag has a different semantics e.g.
compared to the NetBSD version.
This patch makes -D emit a warning and be ignored and documents that.
a cursory look only showed GNU supporting -D. netbsd uses it for something
different, other OS don't use it at all. I think we shouldn't commit it.
closing for now unless anybody feels we need to have it.
Also available in: Atom
PDF