mercurial/commands.py
changeset 13608 63ab6b0ccedc
parent 13601 0388e3e36693
child 13623 0e217d479c16
--- 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: