titan: accept either one or two positional arguments

This commit is contained in:
Omar Polo 2024-01-08 08:39:18 +00:00
parent fd48b7c0c4
commit dd3f04b227
1 changed files with 1 additions and 1 deletions

View File

@ -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);