summary refs log tree commit diff stats
path: root/src/fe-gtk
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2013-07-01 13:43:58 -0400
committerTingPing <tingping@tingping.se>2013-07-01 13:43:58 -0400
commitaab55d8cffc577a7aec4f43d5157c7e3f498c0f5 (patch)
tree9daed407f233e1ae2c85212735350dd1dc8ca5d8 /src/fe-gtk
parent73c9321361b38e75d442780280175d5298893c8f (diff)
Handle extraneous cli args as urls
Diffstat (limited to 'src/fe-gtk')
-rw-r--r--src/fe-gtk/fe-gtk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fe-gtk/fe-gtk.c b/src/fe-gtk/fe-gtk.c
index 6890286f..08f10f8a 100644
--- a/src/fe-gtk/fe-gtk.c
+++ b/src/fe-gtk/fe-gtk.c
@@ -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}
 };