diff options
author | Mike Frysinger | 2009-03-28 12:57:54 +0000 |
---|---|---|
committer | Mike Frysinger | 2009-03-28 12:57:54 +0000 |
commit | a71cfa8aa15b7fbc84f3d011b48b6243060c5060 (patch) | |
tree | 0034da602eb541738c7e575c4645180c3cb91293 /shell | |
parent | d006edb2ca90c748d778699bbaf6954473ab7348 (diff) | |
download | busybox-a71cfa8aa15b7fbc84f3d011b48b6243060c5060.zip busybox-a71cfa8aa15b7fbc84f3d011b48b6243060c5060.tar.gz |
rename "-f" (fake) option to "-n" to match POSIX
Diffstat (limited to 'shell')
-rw-r--r-- | shell/hush.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/hush.c b/shell/hush.c index 67e689f..65babdf 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -4238,7 +4238,7 @@ int hush_main(int argc, char **argv) } 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 @@ int hush_main(int argc, char **argv) * we have to have some stuff (ctty, etc) */ /* G.interactive_fd++; */ break; - case 'f': + case 'n': G.fake_mode = 1; break; default: |