mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Revert back to showing help when no arguments
This commit is contained in:
parent
89574b2469
commit
b0c085debd
1 changed files with 1 additions and 2 deletions
|
|
@ -162,8 +162,7 @@ void options_parse(int argc, char *argv[])
|
||||||
|
|
||||||
if (argc == 1)
|
if (argc == 1)
|
||||||
{
|
{
|
||||||
printf("Please provide tty device or name of configuration to use\n\n");
|
print_help(argv);
|
||||||
printf("See %s --help for more details\n\n", *argv);
|
|
||||||
exit(EXIT_SUCCESS);
|
exit(EXIT_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue