DragonFly BSD
DragonFly submit List (threaded) for 2006-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Add -D to install


From: Andreas Hauser <andy@xxxxxxxxxxxxxxx>
Date: 26 May 2006 17:54:59 +0200

Hoi,

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

-- 
Andy


diff -r 34c9cb8fd38c usr.bin/xinstall/install.1
--- a/usr.bin/xinstall/install.1	Tue Apr 18 22:11:35 2006 +0000
+++ b/usr.bin/xinstall/install.1	Fri May 26 15:40:29 2006 +0200
@@ -59,7 +59,7 @@
 .Op Fl o Ar owner
 .Ar file1 ... fileN directory
 .Nm
-.Fl d
+.Fl d | D
 .Op Fl vl
 .Op Fl L Ar etcdir
 .Op Fl g Ar group
@@ -116,6 +116,9 @@ The
 The
 .Fl c
 option is only included for backwards compatibility.
+.It Fl D
+Same as
+.Fl d .
 .It Fl d
 Create directories.
 Missing parent directories are created as required.
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':
+			dodir = 1;
+			break;
 		case 'd':
 			dodir = 1;
 			break;



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]