help: show value requirement and multiple occurrence of options
this helps users to know what kind of option is: - no value is required(flag option) - value is required - value is required, and multiple occurrences are allowed each kinds are shown as below: -f --force force push -e --ssh CMD specify ssh command to use -b --branch BRANCH [+] a specific branch you would like to push if one or more 3rd type options are shown, explanation for '[+]' mark is also shown as footnote.
Showing
- doc/gendoc.py 5 additions, 1 deletiondoc/gendoc.py
- hgext/bookmarks.py 2 additions, 2 deletionshgext/bookmarks.py
- hgext/children.py 2 additions, 1 deletionhgext/children.py
- hgext/churn.py 8 additions, 5 deletionshgext/churn.py
- hgext/color.py 2 additions, 1 deletionhgext/color.py
- hgext/convert/__init__.py 14 additions, 7 deletionshgext/convert/__init__.py
- hgext/extdiff.py 8 additions, 4 deletionshgext/extdiff.py
- hgext/fetch.py 2 additions, 1 deletionhgext/fetch.py
- hgext/gpg.py 4 additions, 2 deletionshgext/gpg.py
- hgext/graphlog.py 4 additions, 2 deletionshgext/graphlog.py
- hgext/hgk.py 2 additions, 1 deletionhgext/hgk.py
- hgext/inotify/__init__.py 6 additions, 3 deletionshgext/inotify/__init__.py
- hgext/keyword.py 2 additions, 1 deletionhgext/keyword.py
- hgext/mq.py 20 additions, 11 deletionshgext/mq.py
- hgext/patchbomb.py 5 additions, 3 deletionshgext/patchbomb.py
- hgext/rebase.py 8 additions, 4 deletionshgext/rebase.py
- hgext/transplant.py 11 additions, 6 deletionshgext/transplant.py
- mercurial/commands.py 185 additions, 92 deletionsmercurial/commands.py
- mercurial/fancyopts.py 6 additions, 1 deletionmercurial/fancyopts.py
- tests/test-convert.out 10 additions, 10 deletionstests/test-convert.out
Loading
Please register or sign in to comment