svn commit: [25853] trunk/busybox/shell

vapier at busybox.net vapier at busybox.net
Sat Mar 28 12:57:54 UTC 2009


Author: vapier
Date: 2009-03-28 12:57:54 +0000 (Sat, 28 Mar 2009)
New Revision: 25853

Log:
rename "-f" (fake) option to "-n" to match POSIX

Modified:
   trunk/busybox/shell/hush.c


Changeset:
Modified: trunk/busybox/shell/hush.c
===================================================================
--- trunk/busybox/shell/hush.c	2009-03-28 12:43:53 UTC (rev 25852)
+++ trunk/busybox/shell/hush.c	2009-03-28 12:57:54 UTC (rev 25853)
@@ -4238,7 +4238,7 @@
 	}
 	input = stdin;
 
-	while ((opt = getopt(argc, argv, "c:xif")) > 0) {
+	while ((opt = getopt(argc, argv, "c:xin")) > 0) {
 		switch (opt) {
 		case 'c':
 			G.global_argv = argv + optind;
@@ -4255,7 +4255,7 @@
 			 * we have to have some stuff (ctty, etc) */
 			/* G.interactive_fd++; */
 			break;
-		case 'f':
+		case 'n':
 			G.fake_mode = 1;
 			break;
 		default:



More information about the busybox-cvs mailing list