Mercurial > hg
comparison mercurial/commands.py @ 15192:3834ca04664a
rst: fix detection of single-row tables
This fixes option lists for commands with only an --mq option.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sun, 02 Oct 2011 13:13:46 -0500 |
parents | 59e8bc22506e |
children | 0705f2ac79d6 |
comparison
equal
deleted
inserted
replaced
15190:6dc67dced8c1 | 15192:3834ca04664a |
---|---|
2766 lo += " %s" % optlabel | 2766 lo += " %s" % optlabel |
2767 | 2767 |
2768 data.append((so, lo, desc)) | 2768 data.append((so, lo, desc)) |
2769 | 2769 |
2770 rst = minirst.maketable(data, 1) | 2770 rst = minirst.maketable(data, 1) |
2771 | |
2771 if multioccur: | 2772 if multioccur: |
2772 rst += _("\n[+] marked option can be specified multiple times") | 2773 rst += _("\n[+] marked option can be specified multiple times") |
2773 | 2774 |
2774 return rst | 2775 return rst |
2775 | 2776 |