diff options
Diffstat (limited to 'src/serdi.c')
-rw-r--r-- | src/serdi.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/serdi.c b/src/serdi.c index f6a329bb..deeac384 100644 --- a/src/serdi.c +++ b/src/serdi.c @@ -201,6 +201,14 @@ main(int argc, char** argv) break; } + if (!strcmp(argv[a], "--help")) { + return print_usage(prog, false); + } + + if (!strcmp(argv[a], "--version")) { + return print_version(); + } + for (int o = 1; argv[a][o]; ++o) { const char opt = argv[a][o]; |