diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-10-24 07:06:38 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-10-24 07:06:38 +0000 |
commit | 91eb98301496a5dae1fe75dcbcb77abe3fb4135a (patch) | |
tree | 707dc67e49103e66d0b4e0ad9912d2af418236a2 /man/emerge.1 | |
parent | 060eceac479fc2b48a6ec264c4e47a1df7df1994 (diff) | |
download | portage-91eb98301496a5dae1fe75dcbcb77abe3fb4135a.tar.gz portage-91eb98301496a5dae1fe75dcbcb77abe3fb4135a.tar.bz2 portage-91eb98301496a5dae1fe75dcbcb77abe3fb4135a.zip |
Bug #134466 - Add a --ask-enter-invalid option. When used together with the
--ask option, interpret a single "Enter" key press as invalid input. This
helps prevent accidental acceptance of the first choice. (trunk r14710)
svn path=/main/branches/2.1.7/; revision=14719
Diffstat (limited to 'man/emerge.1')
-rw-r--r-- | man/emerge.1 | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/man/emerge.1 b/man/emerge.1 index 3cc511bad..966745be6 100644 --- a/man/emerge.1 +++ b/man/emerge.1 @@ -257,7 +257,17 @@ without \fB\-\-pretend\fR, as dependencies will only need to be calculated once. \fBWARNING: If the "Enter" key is pressed at the prompt (with no other input), it is interpreted as acceptance of the first choice. Note that the input buffer is not cleared prior to the prompt, so an accidental press of the -"Enter" key at any time prior to the prompt will be interpreted as a choice!\fR +"Enter" key at any time prior to the prompt will be interpreted as a choice! +Use the \-\-ask\-enter\-invalid option if you want a single "Enter" key +press to be interpreted as invalid input.\fR +.TP +.BR "\-\-ask\-enter\-invalid" +When used together with the \fB\-\-ask\fR option, +interpret a single "Enter" key press as +invalid input. This helps prevent accidental +acceptance of the first choice. This option is +intended to be set in the \fBmake.conf\fR(5) +\fBEMERGE_DEFAULT_OPTS\fR variable. .TP .BR "\-\-binpkg\-respect\-use < y | n >" Tells emerge to ignore binary packages if their use flags |