Commit c6290f16 authored by Benoit Perrot's avatar Benoit Perrot
Browse files

Index: ChangeLog

from  Benoit Perrot <benoit@lrde.epita.fr>

	* monoburg.c: Support long options; prefer `--without-glib' to
	`-g'.
parent 23f7bcf4
2004-11-07 Benoit Perrot <benoit@lrde.epita.fr>
* monoburg.c: Support long options; prefer `--without-glib' to
`-g'.
2004-10-13 Benoit Perrot <benoit@lrde.epita.fr>
* TODO: New.
......
......@@ -1117,6 +1117,7 @@ main (int argc, char *argv [])
for (i = 1; i < argc; i++){
if (argv [i][0] == '-'){
/* Short options */
if (argv [i][1] == 'h') {
usage ();
} else if (argv [i][1] == 'e') {
......@@ -1132,8 +1133,15 @@ main (int argc, char *argv [])
} else if (argv [i][1] == 'D') {
g_hash_table_insert (definedvars, &argv [i][2],
GUINT_TO_POINTER (1));
} else if (argv [i][1] == 'g') {
with_glib = FALSE;
} else if (argv [i][1] == '-') {
/* Long options */
if (strcmp(argv [i] + 2, "without-glib") == 0) {
with_glib = FALSE;
} else {
usage ();
}
} else {
usage ();
}
......
Supports Markdown
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