diff options
author | Omar Polo <op@omarpolo.com> | 2024-01-08 08:39:18 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2024-01-08 08:39:18 +0000 |
commit | dd3f04b22709a1c169a8d1689e8244214e0a7c32 (patch) | |
tree | e40f9c75e07bf24b4b75ddfb949ce0a332304b45 /titan.c | |
parent | fd48b7c0c4093c710b2d692b7abca89b0dbf0a33 (diff) |
titan: accept either one or two positional arguments
Diffstat (limited to 'titan.c')
-rw-r--r-- | titan.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |