Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Jan 2010 11:44:40 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        kientzle@freebsd.org
Cc:        dougb@freebsd.org, src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   Re: svn commit: r201326 - user/dougb/portmaster
Message-ID:  <20100101.114440.239525524730500825.imp@bsdimp.com>
In-Reply-To: <4B3C4716.9020806@freebsd.org>
References:  <200912310609.nBV69XIS087894@svn.freebsd.org> <4B3C4716.9020806@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <4B3C4716.9020806@freebsd.org>
            Tim Kientzle <kientzle@FreeBSD.org> writes:
: Doug Barton wrote:
: >   Even though it's probably already obvious, add a hint as to what the
: >   non-default option is for the y/n prompts.
: 
: > - echo -n "	===>>> Delete this dependency data? [n] "
: > + echo -n "	===>>> Delete this dependency data? y/[n] "
: 
: I've seen this done a little more clearly by using an
: uppercase letter to indicate the default: [Y/n]

This also seems the de-facto standard for doing this.  The new echo
above is something I've never seen before and is more confusing that
the old echo above...

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100101.114440.239525524730500825.imp>