From a77511e0edcd36624ae729ee7ebced6fcba04f92 Mon Sep 17 00:00:00 2001 From: James Hammons Date: Mon, 2 Jan 2012 12:09:20 +0000 Subject: [PATCH] Removed Interactive Mode. Sorry, but the 1980s called and said they wanted their limited resource feature back. ;-) --- rmac.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) 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; -- 2.37.2