projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d006edb
)
rename "-f" (fake) option to "-n" to match POSIX
author
Mike Frysinger
<vapier@gentoo.org>
Sat, 28 Mar 2009 12:57:54 +0000
(12:57 -0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Sat, 28 Mar 2009 12:57:54 +0000
(12:57 -0000)
shell/hush.c
patch
|
blob
|
history
diff --git
a/shell/hush.c
b/shell/hush.c
index 67e689fe2ed1f948597f9e80ea45aef0a284a3f5..65babdfc12e8e325c0cc0771d15288bbf10718d7 100644
(file)
--- 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:xi
f
")) > 0) {
+ while ((opt = getopt(argc, argv, "c:xi
n
")) > 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: