From 20b85c03e751b4876fa3c92040464e483172b746 Mon Sep 17 00:00:00 2001 From: Jannis Hoffmann Date: Wed, 3 Jul 2024 19:03:11 +0200 Subject: manual format adjustment --- src/preline.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/preline.c') diff --git a/src/preline.c b/src/preline.c index e61c588..2a0b8c4 100644 --- a/src/preline.c +++ b/src/preline.c @@ -41,8 +41,8 @@ int main(int argc, char **argv) if (!(rpline = env_get("RPLINE"))) die_usage(); if (!(dtline = env_get("DTLINE"))) die_usage(); - while ((opt = getopt(argc, argv, "frdFRD")) != opteof) switch (opt) - { + while ((opt = getopt(argc, argv, "frdFRD")) != opteof) { + switch (opt) { case 'f': flagufline = 0; break; case 'r': flagrpline = 0; break; case 'd': flagdtline = 0; break; @@ -51,6 +51,7 @@ int main(int argc, char **argv) case 'D': flagdtline = 1; break; default: die_usage(); } + } argc -= optind; argv += optind; if (!*argv) die_usage(); -- cgit v1.2.3