Handle extraneous cli args as urls

This commit is contained in:
TingPing
2013-07-01 13:43:58 -04:00
parent 73c9321361
commit aab55d8cff
4 changed files with 22 additions and 6 deletions

View File

@@ -131,6 +131,7 @@ static const GOptionEntry gopt_entries[] =
#endif
{"minimize", 0, 0, G_OPTION_ARG_INT, &arg_minimize, N_("Begin minimized. Level 0=Normal 1=Iconified 2=Tray"), N_("level")},
{"version", 'v', 0, G_OPTION_ARG_NONE, &arg_show_version, N_("Show version information"), NULL},
{G_OPTION_REMAINING, '\0', 0, G_OPTION_ARG_STRING_ARRAY, &arg_urls, NULL, NULL},
{NULL}
};