Преглед на файлове

* Fix invalid memory reference in --help

Bryan Drewery преди 16 години
родител
ревизия
6606ff13c1
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/main.c

+ 1 - 1
src/main.c

@@ -302,7 +302,7 @@ static void show_help()
   const char format[] = "%-30s %-30s\n";
 
   printf(STR("%s\n\n"), version);
-  printf(STR("%s [options] [botnick[.conf]]\n"));
+  printf(STR("%s [options] [botnick[.conf]]\n"), binname);
   printf(STR("Not supplying any options will make all bots in the binary spawn.\n"));
   printf(format, STR("Option"), STR("Description"));
   printf(format, STR("------"), STR("-----------"));