Revert back to showing help when no arguments

This commit is contained in:
Martin Lund 2022-06-02 01:04:24 +02:00
parent 89574b2469
commit b0c085debd

View file

@ -162,8 +162,7 @@ void options_parse(int argc, char *argv[])
if (argc == 1)
{
printf("Please provide tty device or name of configuration to use\n\n");
printf("See %s --help for more details\n\n", *argv);
print_help(argv);
exit(EXIT_SUCCESS);
}