diff options
author | Alexander Berntsen <bernalex@gentoo.org> | 2014-05-08 17:47:58 +0200 |
---|---|---|
committer | Alexander Berntsen <bernalex@gentoo.org> | 2014-06-14 23:41:48 +0200 |
commit | 15433c52866e09967142fd2352bd7aad9ad5026f (patch) | |
tree | 62c78756508db929ab4e883abde0174c229f0086 /man | |
parent | Revert "emerge: Implement "--alert"" (diff) | |
download | portage-15433c52866e09967142fd2352bd7aad9ad5026f.tar.gz portage-15433c52866e09967142fd2352bd7aad9ad5026f.tar.bz2 portage-15433c52866e09967142fd2352bd7aad9ad5026f.zip |
emerge: Implement "--alert"
Implement "--alert" (short option "-A"), which adds a terminal bell
character ('\a') to all prompts, when it is set to True or "y".
The patch refactors userquery to a class, UserQuery, to accommodate
--alert. It also adds the option to the emerge man page.
Signed-off-by: Alexander Berntsen <bernalex@gentoo.org>
Diffstat (limited to 'man')
-rw-r--r-- | man/emerge.1 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/man/emerge.1 b/man/emerge.1 index abb0ed898..1db41b0b9 100644 --- a/man/emerge.1 +++ b/man/emerge.1 @@ -297,6 +297,20 @@ re\-distributable. With default configuration, this would result in an effective \fBACCEPT_RESTRICT\fR value of "* -bindist". .TP +.BR "\-\-alert [ y | n ] (\-A short option)" +Add a terminal bell character ('\\a') to all interactive prompts. This +is especially useful if dependency resolution is taking a long time, and +you want emerge to alert you when it is finished. If you use +\fBemerge -auAD world\fR, emerge will courteously point out when it has +finished calculating the graph. + +\fB--alert\fR may be 'y' or 'n'. 'true' and 'false' mean the same thing. +Using \fB--alert\fR without an option is the same as using it with 'y'. +Try it with 'emerge -aAC gcc'. Remember to answer \fBno\fR! + +If your terminal emulator is set up to make '\\a' into a window manager +urgency hint, move your cursor to a different window to get the effect. +.TP .BR "\-\-alphabetical " When displaying USE and other flag output, combines the enabled and disabled lists into one list and sorts the whole list alphabetically. |