소스 검색

* 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("-----------"));