From b0c085debd7f84eb3158bc983f9c513f715c2f47 Mon Sep 17 00:00:00 2001 From: Martin Lund Date: Thu, 2 Jun 2022 01:04:24 +0200 Subject: [PATCH] Revert back to showing help when no arguments --- src/options.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/options.c b/src/options.c index f0b88f3..e02ee52 100644 --- a/src/options.c +++ b/src/options.c @@ -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); }