Project

General

Profile

Actions

Bug #185

closed

Add -D to install

Added by andy almost 18 years ago. Updated about 15 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Hoi,

Add the -D flag, an alias to -d, which is used on other systems.

Actions #1

Updated by joerg almost 18 years ago

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

Actions #2

Updated by LabThug almost 18 years ago

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.

Actions #3

Updated by dillon almost 18 years ago

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
<>
Actions #4

Updated by andy almost 18 years ago

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.

Actions #5

Updated by corecode about 15 years ago

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.

Actions

Also available in: Atom PDF