From 78a407a07e04aec7bcf9d83fd43b26e285a7908a Mon Sep 17 00:00:00 2001 From: randomuser Date: Sun, 13 Jun 2021 22:39:06 -0500 Subject: [PATCH] finally add hours argument --- progs/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/progs/timer.c b/progs/timer.c index 676a4a8..71d59b7 100644 --- a/progs/timer.c +++ b/progs/timer.c @@ -80,7 +80,7 @@ void timerloop() { int main(int argc, char **argv) { char c; - while((c = getopt(argc, argv, "evdbfm:s:")) != -1) { + while((c = getopt(argc, argv, "evdbfh:m:s:")) != -1) { switch(c) { break; case 'e': s.e = 1; break; case 'v': s.v = 1;