From: James Hammons Date: Mon, 2 Jan 2012 12:09:20 +0000 (+0000) Subject: Removed Interactive Mode. Sorry, but the 1980s called and said they wanted X-Git-Tag: 1.3.0~40 X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=commitdiff_plain;h=a77511e0edcd36624ae729ee7ebced6fcba04f92 Removed Interactive Mode. Sorry, but the 1980s called and said they wanted their limited resource feature back. ;-) --- diff --git a/rmac.c b/rmac.c index 0e7f945..dd7add1 100644 --- a/rmac.c +++ b/rmac.c @@ -712,6 +712,7 @@ int process(int argc, char **argv) { return(errcnt); } +#if 0 // // --- Interactive Mode ---------------------------------------------------------------------------- // @@ -780,6 +781,7 @@ void interactive(void) printf("%d assembly error%s\n", errcnt, (errcnt > 1) ? "s" : ""); } } +#endif // // --- Determine Processor Endianess --------------------------------------------------------------- @@ -817,10 +819,15 @@ int main(int argc, char ** argv) { // Full command line passed status = process(argc - 1, argv + 1); } + // Interactive mode else - { // Interactive mode - status = 0; - interactive(); + { +// Sorry Landon, this is the year 20xx and we haz plenty of resources now ;-) +// status = 0; +// interactive(); + // Instead, we show a nice banner and switches :-) + display_version(); + display_help(); } return status;