Terminate GOptionEntry array, preventing warnings and/or errors parsing command-line options.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13427 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Joshua Sled
2006-02-28 23:13:33 +00:00
parent f32bc537d1
commit 9bf79f4cf8
2 changed files with 7 additions and 0 deletions

View File

@@ -1,3 +1,9 @@
2006-02-28 Joshua Sled <jsled@asynchronous.org>
* src/bin/gnucash-bin.c (gnucash_command_line): Terminate
GOptionEntry array, preventing warnings and/or errors parsing
command-line options.
2006-02-28 David Hampton <hampton@employees.org>
* configure.in: Set the GNOME_DISABLE_DEPRECATED flag for gnome

View File

@@ -300,6 +300,7 @@ gnucash_command_line(int *argc, char **argv)
/* Translators: Argument description for autohelp; see
http://developer.gnome.org/doc/API/2.0/glib/glib-Commandline-option-parser.html */
_("REGEXP")},
{ NULL }
};
/* Pretend that argv[0] is "gnucash" */