summary refs log tree commit diff stats
path: root/src/fe-text
diff options
context:
space:
mode:
authorTingPing <tngpng@gmail.com>2013-07-01 14:36:15 -0400
committerTingPing <tngpng@gmail.com>2013-07-01 14:36:15 -0400
commit22064278df9adc4368ebef876fbfae805b158b35 (patch)
tree7b7a633d6b1f023ea89f06ae50d85495549cfd1a /src/fe-text
parent932bfa34824883927cf3d9fbf248520ab06eab41 (diff)
Update fe-text's help message
Diffstat (limited to 'src/fe-text')
-rw-r--r--src/fe-text/fe-text.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fe-text/fe-text.c b/src/fe-text/fe-text.c
index 91aa1f0c..f5454dd2 100644
--- a/src/fe-text/fe-text.c
+++ b/src/fe-text/fe-text.c
@@ -465,8 +465,9 @@ static const GOptionEntry gopt_entries[] =
  {"no-plugins",	'n', 0, G_OPTION_ARG_NONE,	&arg_skip_plugins, N_("Don't auto load any plugins"), NULL},
  {"plugindir",	'p', 0, G_OPTION_ARG_NONE,	&arg_show_autoload, N_("Show plugin/script auto-load directory"), NULL},
  {"configdir",	'u', 0, G_OPTION_ARG_NONE,	&arg_show_config, N_("Show user config directory"), NULL},
- {"url",	 0,  0, G_OPTION_ARG_STRING,	&arg_url, N_("Open an irc://server:port/channel URL"), "URL"},
+ {"url",	 0,  G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING,	&arg_url, N_("Open an irc://server:port/channel URL"), "URL"},
  {"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, N_("Open an irc://server:port/channel?key URL"), "URL"},
  {NULL}
 };