aboutsummaryrefslogtreecommitdiff
path: root/titan.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2024-01-08 08:38:47 +0000
committerOmar Polo <op@omarpolo.com>2024-01-08 08:38:47 +0000
commitfd48b7c0c4093c710b2d692b7abca89b0dbf0a33 (patch)
treec2205e3961b8190be124df3b47dcb1fd5f5065f7 /titan.c
parentac46710a4b3b7b1bc5f966117cb4b713063dce81 (diff)
titan: usage and exit on unknown flags
Diffstat (limited to 'titan.c')
-rw-r--r--titan.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/titan.c b/titan.c
index df677b4..62733b9 100644
--- a/titan.c
+++ b/titan.c
@@ -257,6 +257,8 @@ main(int argc, char **argv)
case 't':
token = optarg;
break;
+ default:
+ usage();
}
}
argc -= optind;