Subject: Re: [PATCH v3 07/11] i18n: factorize "no directory given for --foo"

From: Junio C Hamano <[email-masked]>
Date: Thu, 30 Dec 2021 14:36:44 -0800

"Jean-Noël Avila via GitGitGadget"  <[email-masked]> writes:

>  		} else if (!strcmp(cmd, "--git-dir")) {
>  			if (*argc < 2) {
> -				fprintf(stderr, _("no directory given for --git-dir\n" ));
> +				fprintf(stderr, _("no directory given for %s\n" ), "--git-dir");
>  				usage(git_usage_string);
>  			}
>  			setenv(GIT_DIR_ENVIRONMENT, (*argv)[1], 1);

None of the originals of these three uses it, but I wonder if we
want a single-quote-pair around %s.