From: Jeff King Date: Tue, 04 Oct 2011 17:49:37 GMT Subject: Re: [PATCH] git-difftool: allow skipping file by typing 'n' at prompt Message-ID: <20111004174937.GA31671@sigill.intra.peff.net> In-Reply-To: <7vbotwdbjg.fsf@alter.siamese.dyndns.org> On Tue, Oct 04, 2011 at 08:25:07AM -0700, Junio C Hamano wrote: > Sitaram Chamarty writes: > > > Signed-off-by: Sitaram Chamarty > > --- > > > > I'm using what is pretty much a universal convention to > > signify that the default choice is "y"; I hope documentation > > for something so small is not needed but if it is, let me > > know and I'll do that also. > > > > - printf "Hit return to launch '%s': " \ > > + printf "Launch '%s' [y]/n: " \ > > I think I've seen this done as: "do this? [Y/n]" elsewhere. > > Not telling you what to do, but trying to feel what others may think. Yes, that was my immediate thought, too (or even [Yn]). -Peff