Commit 8a97b7e4 authored by Tom Tromey's avatar Tom Tromey Committed by Tom Tromey

MICO now takes "--" arguments.

Sun Mar  8 18:55:09 1998  Tom Tromey  <tromey@cygnus.com>

	* mico-parse.cc (parse_mico_arg): MICO now takes "--" arguments.
parent 57411f5d
Sun Mar 8 18:55:09 1998 Tom Tromey <tromey@cygnus.com> Sun Mar 8 18:55:09 1998 Tom Tromey <tromey@cygnus.com>
* mico-parse.cc (parse_mico_arg): MICO now takes "--" arguments.
* Makefile.am (INCLUDES): Include GNOME_INCLUDEDIR. * Makefile.am (INCLUDES): Include GNOME_INCLUDEDIR.
Sat Mar 7 13:39:41 1998 Tom Tromey <tromey@cygnus.com> Sat Mar 7 13:39:41 1998 Tom Tromey <tromey@cygnus.com>
......
Sun Mar 8 18:55:09 1998 Tom Tromey <tromey@cygnus.com> Sun Mar 8 18:55:09 1998 Tom Tromey <tromey@cygnus.com>
* mico-parse.cc (parse_mico_arg): MICO now takes "--" arguments.
* Makefile.am (INCLUDES): Include GNOME_INCLUDEDIR. * Makefile.am (INCLUDES): Include GNOME_INCLUDEDIR.
Sat Mar 7 13:39:41 1998 Tom Tromey <tromey@cygnus.com> Sat Mar 7 13:39:41 1998 Tom Tromey <tromey@cygnus.com>
......
...@@ -69,10 +69,10 @@ parse_mico_arg (int key, char *arg, struct argp_state *state) ...@@ -69,10 +69,10 @@ parse_mico_arg (int key, char *arg, struct argp_state *state)
{ {
/* We defined this argument. Handle it by pushing the flag and /* We defined this argument. Handle it by pushing the flag and
possibly the argument onto our saved argument vector. */ possibly the argument onto our saved argument vector. */
/* NOTE: For now we assume that MICO needs "-" and not "--" /* NOTE: this requires the Gnome-modified MICO. The stock MICO
arguments. */ uses "-" and not "--" arguments. */
our_mico_argv[our_mico_argc++] our_mico_argv[our_mico_argc++]
= g_strconcat ("-", our_mico_options[- key - 1].name, NULL); = g_strconcat ("--", our_mico_options[- key - 1].name, NULL);
if (arg) if (arg)
our_mico_argv[our_mico_argc++] = strdup (arg); our_mico_argv[our_mico_argc++] = strdup (arg);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment