1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 01:03:14 +02:00

core: remove unneeded argument in call to string_fprintf

This commit is contained in:
Sébastien Helleu
2017-08-10 19:55:29 +02:00
parent 6cc16a40d1
commit c58716809c
+3 -3
View File
@@ -131,13 +131,13 @@ weechat_display_copyright ()
*/
void
weechat_display_usage (char *exec_name)
weechat_display_usage ()
{
weechat_display_copyright ();
string_fprintf (stdout, "\n");
string_fprintf (stdout,
_("Usage: %s [option...] [plugin:option...]\n"),
exec_name, exec_name);
weechat_argv0);
string_fprintf (stdout, "\n");
string_fprintf (
stdout,
@@ -208,7 +208,7 @@ weechat_parse_args (int argc, char *argv[])
else if ((strcmp (argv[i], "-h") == 0)
|| (strcmp (argv[i], "--help") == 0))
{
weechat_display_usage (argv[0]);
weechat_display_usage ();
weechat_shutdown (EXIT_SUCCESS, 0);
}
else if ((strcmp (argv[i], "-l") == 0)