Fix display of correct program name

pull/1/head
Andreas Eversberg 7 years ago
parent 97d4e908a2
commit 97c9eee322
  1. 2
      src/anetz/main.c
  2. 2
      src/bnetz/main.c
  3. 2
      src/cnetz/main.c
  4. 2
      src/nmt/main.c

@ -118,7 +118,7 @@ int main(int argc, char *argv[])
if (!kanal) {
printf("No channel (\"Kanal\") is specified, I suggest channel 30.\n\n");
print_help(argv[0]);
print_help(argv[-skip_args]);
return 0;
}

@ -130,7 +130,7 @@ int main(int argc, char *argv[])
if (!kanal) {
printf("No channel (\"Kanal\") is specified, I suggest channel 1.\n\n");
print_help(argv[0]);
print_help(argv[-skip_args]);
return 0;
}

@ -172,7 +172,7 @@ int main(int argc, char *argv[])
}
if (mandatory) {
print_help(argv[0]);
print_help(argv[-skip_args]);
return 0;
}

@ -215,7 +215,7 @@ int main(int argc, char *argv[])
}
if (mandatory) {
print_help(argv[0]);
print_help(argv[-skip_args]);
return 0;
}

Loading…
Cancel
Save