aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-03-28 12:57:54 +0000
committerMike Frysinger <vapier@gentoo.org>2009-03-28 12:57:54 +0000
commita71cfa8aa15b7fbc84f3d011b48b6243060c5060 (patch)
tree0034da602eb541738c7e575c4645180c3cb91293
parentd006edb2ca90c748d778699bbaf6954473ab7348 (diff)
downloadbusybox-w32-a71cfa8aa15b7fbc84f3d011b48b6243060c5060.tar.gz
busybox-w32-a71cfa8aa15b7fbc84f3d011b48b6243060c5060.tar.bz2
busybox-w32-a71cfa8aa15b7fbc84f3d011b48b6243060c5060.zip
rename "-f" (fake) option to "-n" to match POSIX
-rw-r--r--shell/hush.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 67e689fe2..65babdfc1 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -4238,7 +4238,7 @@ int hush_main(int argc, char **argv)
4238 } 4238 }
4239 input = stdin; 4239 input = stdin;
4240 4240
4241 while ((opt = getopt(argc, argv, "c:xif")) > 0) { 4241 while ((opt = getopt(argc, argv, "c:xin")) > 0) {
4242 switch (opt) { 4242 switch (opt) {
4243 case 'c': 4243 case 'c':
4244 G.global_argv = argv + optind; 4244 G.global_argv = argv + optind;
@@ -4255,7 +4255,7 @@ int hush_main(int argc, char **argv)
4255 * we have to have some stuff (ctty, etc) */ 4255 * we have to have some stuff (ctty, etc) */
4256 /* G.interactive_fd++; */ 4256 /* G.interactive_fd++; */
4257 break; 4257 break;
4258 case 'f': 4258 case 'n':
4259 G.fake_mode = 1; 4259 G.fake_mode = 1;
4260 break; 4260 break;
4261 default: 4261 default: