alleyoop r322 - in trunk: . src
- From: fejj svn gnome org
- To: svn-commits-list gnome org
- Subject: alleyoop r322 - in trunk: . src
- Date: Sun, 8 Mar 2009 04:14:00 +0000 (UTC)
Author: fejj
Date: Sun Mar 8 04:14:00 2009
New Revision: 322
URL: http://svn.gnome.org/viewvc/alleyoop?rev=322&view=rev
Log:
2009-03-07 Jeffrey Stedfast <fejj novell com>
* src/main.c (main): Fixed options table to use CUSTOM args so
that our callbacks get called.
Modified:
trunk/ChangeLog
trunk/src/main.c
Modified: trunk/src/main.c
==============================================================================
--- trunk/src/main.c (original)
+++ trunk/src/main.c Sun Mar 8 04:14:00 2009
@@ -170,9 +170,9 @@
static GetOptsOption options[] = {
{ "help", 'h', GETOPTS_NO_ARG | GETOPTS_ARG_CUSTOM, HELP_TEXT, NULL, 'h', display_help, NULL },
{ "version", 'v', GETOPTS_NO_ARG | GETOPTS_ARG_CUSTOM, VERSION_TEXT, NULL, 'v', display_version, NULL },
- { "include", 'I', GETOPTS_REQUIRED_STRING_ARG, INCLUDE_TEXT, "<dir>", 'I', include_dir, NULL },
- { "recursive", 'R', GETOPTS_REQUIRED_STRING_ARG, RECURSIVE_TEXT, "<dir>", 'R', recurse_dir, NULL },
- { "tool", '\0', GETOPTS_REQUIRED_STRING_ARG, TOOL_TEXT, "<name>", 't', use_tool, NULL },
+ { "include", 'I', GETOPTS_REQUIRED_CUSTOM_ARG, INCLUDE_TEXT, "<dir>", 'I', include_dir, NULL },
+ { "recursive", 'R', GETOPTS_REQUIRED_CUSTOM_ARG, RECURSIVE_TEXT, "<dir>", 'R', recurse_dir, NULL },
+ { "tool", '\0', GETOPTS_REQUIRED_CUSTOM_ARG, TOOL_TEXT, "<name>", 't', use_tool, NULL },
GETOPTS_TABLE_END
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]