Explorar el Código

* Fix invalid memory reference in --help

Bryan Drewery hace 16 años
padre
commit
6606ff13c1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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("-----------"));