From f1d4e5967a2b3d66c595af3e34c59ad1d0c80536 Mon Sep 17 00:00:00 2001 From: Jacob Mealey Date: Wed, 30 Aug 2023 08:10:23 -0400 Subject: [PATCH] removed unneeded newlines in if statements --- trurl.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/trurl.c b/trurl.c index cb1da8bf..5a2a75dc 100644 --- a/trurl.c +++ b/trurl.c @@ -448,13 +448,11 @@ static int getarg(struct option *o, urlfile(o, arg); *usedarg = true; } - else if(checkoptarg("-a", flag, arg) || - checkoptarg("--append", flag, arg)) { + else if(checkoptarg("-a", flag, arg) || checkoptarg("--append", flag, arg)) { appendadd(o, arg); *usedarg = true; } - else if(checkoptarg("-s", flag, arg) || - checkoptarg("--set", flag, arg)) { + else if(checkoptarg("-s", flag, arg) || checkoptarg("--set", flag, arg)) { setadd(o, arg); *usedarg = true; } @@ -480,8 +478,7 @@ static int getarg(struct option *o, trimadd(o, arg); *usedarg = true; } - else if(checkoptarg("-g", flag, arg) || - checkoptarg("--get", flag, arg)) { + else if(checkoptarg("-g", flag, arg) || checkoptarg("--get", flag, arg)) { if(o->format) errorf(ERROR_FLAG, "only one --get is supported"); if(o->jsonout)