On Tue, Apr 20, 2021 at 12:52:43PM +0200, Ævar Arnfjörð Bjarmason wrote: > > Mitigate this inconsistency by accepting both syntaxes and add tests to > > verify both work. > > > > Signed-off-by: Patrick Steinhardt <ps@xxxxxx> > > This whole series LGTM. Me too. Thanks for finding it (and Patrick for fixing it). > > + } else if (!strcmp(cmd, "--config-env")) { > > + if (*argc < 2) { > > + fprintf(stderr, _("no config key given for --config-env\n" )); > > > I found this use of fprintf() slightly odd, why not error(), but then > went back and read the function and saw that it has N number of > "fprintf(stderr, [...])" already. > > That could probably all be converted to error(), but better to be > consistent for now. Yep. Likewise the weird extra space at the end of the string. -Peff