From: Jiamu Sun <39@barroit.sh> Date: Wed, 11 Mar 2026 01:49:40 GMT Subject: Re: [PATCH v3 1/8] parseopt: extract subcommand handling from parse_options_step() Message-ID: In-Reply-To: On Tue, Mar 10, 2026 at 05:46:12AM -0700, Karthik Nayak wrote: > > + if (ctx->has_subcommands) { > > + return handle_subcommand(ctx, arg, options, > > + usagestr); > > } > > + > > Nit: we try to avoid braces around single statement blocks. I'm not sure if we should drop the braces in this case. I mean, the statement is indeed a single one, but it spans multiple lines. Keeping the braces improves readability. Also, CodingGuidelines says: "When the statement extends over a few lines" use braces. So I think we should keep those braces? -- Jiamu Sun <39@barroit.sh>