From dd3f04b22709a1c169a8d1689e8244214e0a7c32 Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Mon, 8 Jan 2024 08:39:18 +0000 Subject: titan: accept either one or two positional arguments --- titan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'titan.c') diff --git a/titan.c b/titan.c index 62733b9..d9736c1 100644 --- a/titan.c +++ b/titan.c @@ -269,7 +269,7 @@ main(int argc, char **argv) if (cert != NULL && key == NULL) key = cert; - if (argc > 2) + if (argc != 1 && argc != 2) usage(); in = open_input_file(argc, argv); -- cgit v1.2.3