Mercurial > hg
changeset 13608:63ab6b0ccedc
help: limit documentation width to at most 80 characters
Reading long lines is suboptimal no matter how wide the terminal is.
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Sun, 13 Mar 2011 13:38:44 +0100 |
parents | 2151703e7f84 |
children | e035356dbfdc |
files | mercurial/commands.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Sun Mar 13 13:05:16 2011 +0100 +++ b/mercurial/commands.py Sun Mar 13 13:38:44 2011 +0100 @@ -1985,7 +1985,7 @@ Returns 0 if successful. """ option_lists = [] - textwidth = ui.termwidth() - 2 + textwidth = min(ui.termwidth(), 80) - 2 def addglobalopts(aliases): if ui.verbose: