← Commit list

a71cfa8aa

Mike Frysinger
Mike Frysinger
2009-03-28
FAILED Duration: 29s

Subject

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

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

shell/hush.c+2 -2
@@ -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: