From: Junio C Hamano Date: Fri, 19 Aug 2022 18:18:20 GMT Subject: Re: [PATCH v2 04/20] t0040-parse-options: test parse_options() with various 'parse_opt_flags' Message-ID: In-Reply-To: <20220819160411.1791200-5-szeder.dev@gmail.com> SZEDER Gábor writes: > +static void print_args(int argc, const char **argv) > +{ > + for (int i = 0; i < argc; i++) > + printf("arg %02d: %s\n", i, argv[i]); > +} It is not November 2022 yet (cf. Documentation/CodingGuidelines). Curious why "%02d", not "%d", or autoscale for cases where argc is larger than 99, but I'll let it pass (iow no need to reroll only to "fix" it).