From: Junio C Hamano Date: Thu, 21 Aug 2025 19:52:44 GMT Subject: Re: [GSoC PATCH 1/2] repo: add the flag -z as an alias for --format=nul Message-ID: In-Reply-To: <6186055.lOV4Wx5bFT@cayenne> Jean-Noël AVILA writes: >> -git repo info [--format=(keyvalue|nul)] [...] >> +git repo info [--format=(keyvalue|nul)|-z] [...] >> > > In fact the correct formatting is: > > [--format=(keyvalue|nul) | -z] [...] > > As stated in "CodingGuidelines: > > Use spacing around "|" token(s), but not immediately after opening or > before closing a [] or () pair: > Do: [-q | --quiet] > Don't: [-q|--quiet] > > Don't use spacing around "|" tokens when they're used to separate the > alternate arguments of an option: > Do: --track[=(direct|inherit)] > Don't: --track[=(direct | inherit)] Yup, thanks!