mercurial/commands.py
branchstable
changeset 15985 740b1b4c7958
parent 15968 bf87b6b95ce5
child 15991 85ec8036d0b9
equal deleted inserted replaced
15984:894f83a35653 15985:740b1b4c7958
  3060         except KeyError:
  3060         except KeyError:
  3061             pass
  3061             pass
  3062 
  3062 
  3063         # options
  3063         # options
  3064         if not ui.quiet and entry[1]:
  3064         if not ui.quiet and entry[1]:
  3065             rst += '\noptions:\n\n'
  3065             rst += '\n'
       
  3066             rst += _("options:")
       
  3067             rst += '\n\n'
  3066             rst += optrst(entry[1])
  3068             rst += optrst(entry[1])
  3067 
  3069 
  3068         if ui.verbose:
  3070         if ui.verbose:
  3069             rst += '\nglobal options:\n\n'
  3071             rst += '\n'
       
  3072             rst += _("global options:")
       
  3073             rst += '\n\n'
  3070             rst += optrst(globalopts)
  3074             rst += optrst(globalopts)
  3071 
  3075 
  3072         keep = ui.verbose and ['verbose'] or []
  3076         keep = ui.verbose and ['verbose'] or []
  3073         formatted, pruned = minirst.format(rst, textwidth, keep=keep)
  3077         formatted, pruned = minirst.format(rst, textwidth, keep=keep)
  3074         ui.write(formatted)
  3078         ui.write(formatted)