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 | 8612847a4ed10409ccdf37ebf07251f22fd76025 (patch) | |
tree | 36be5c2d31f159770a699fe1ad3796a425b24801 /mixutils | |
parent | 262f5c37cc39ed18c503f6fd29e9d2c3cd95bb6f (diff) | |
download | mdk-8612847a4ed10409ccdf37ebf07251f22fd76025.tar.gz mdk-8612847a4ed10409ccdf37ebf07251f22fd76025.tar.bz2 |
Silently accept -g, just in case
Diffstat (limited to 'mixutils')
-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); |