diff options
| author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2005-09-19 21:30:55 +0000 | 
|---|---|---|
| committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2005-09-19 21:30:55 +0000 | 
| commit | 41f74493cbc0a82957a99315c302d52d02166a6e (patch) | |
| tree | 73bf79206e59a0e98d091a13b3d3c1246f834d51 | |
| parent | 78bc79a1ed2623c1d900a333135bf30b9ed361d5 (diff) | |
| download | mdk-41f74493cbc0a82957a99315c302d52d02166a6e.tar.gz mdk-41f74493cbc0a82957a99315c302d52d02166a6e.tar.bz2  | |
Silently accept -g, just in case
| -rw-r--r-- | mixutils/mixasm.c | 8 | 
1 files changed, 6 insertions, 2 deletions
diff --git a/mixutils/mixasm.c b/mixutils/mixasm.c index bee0342..bac3d13 100644 --- a/mixutils/mixasm.c +++ b/mixutils/mixasm.c @@ -1,7 +1,7 @@  /* -*-c-*- -------------- mixasm.c:   * Main function of mixasm, the mix assembler   * ------------------------------------------------------------------ - *  $Id: mixasm.c,v 1.7 2005/09/19 20:18:18 jao Exp $ + *  $Id: mixasm.c,v 1.8 2005/09/19 21:30:55 jao Exp $   * ------------------------------------------------------------------   * Copyright (C) 2000, 2001, 2002, 2004, 2005 Free Software Foundation, Inc.   * @@ -74,7 +74,8 @@ main (int argc, char **argv)    while (1)      { -      c = getopt_long (argc, argv, "vhuo:lO", long_options_, (int*)0); +      /* -g option is still available, but is no longer used */ +      c = getopt_long (argc, argv, "vhuo:lOg", long_options_, (int*)0);        /* Detect the end of the options. */        if (c == -1) @@ -98,6 +99,9 @@ main (int argc, char **argv)  	case NDEBUG_OPT:  	  debug = FALSE;  	  break; +        case 'g': +          /* used to be the switch to create debug version, not needed anymore */ +          break;       	case '?':  	  /* getopt already handles the output of a warning message */  	  fprintf (stderr, _("(Try: %s -h)\n"), prog_name);  | 
