From 044989b8d586b6fb98aa067baa0be8ea76346ee5 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Thu, 28 Mar 2019 15:35:48 +0100 Subject: [PATCH] Fix option parsing --- src/donar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/donar.c b/src/donar.c index 635e985..85905f9 100644 --- a/src/donar.c +++ b/src/donar.c @@ -15,7 +15,7 @@ int main(int argc, char** argv) { struct donar_params dp; donar_init_params (&dp); - while ((dp.opt = getopt(argc, argv, "csh:e:r:o:a:b:h:")) != -1) { + while ((dp.opt = getopt(argc, argv, "cse:r:o:a:bh")) != -1) { switch(dp.opt) { case 's': dp.is_server = 1;