comparison hgext/rebase.py @ 11321:40c06bbf58be

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.
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Sun, 06 Jun 2010 17:25:00 +0900
parents 7fa3968004c1
children 59bd20451ab6
comparison
equal deleted inserted replaced
11320:e4274f9f97c8 11321:40c06bbf58be
536 536
537 cmdtable = { 537 cmdtable = {
538 "rebase": 538 "rebase":
539 (rebase, 539 (rebase,
540 [ 540 [
541 ('s', 'source', '', _('rebase from the specified changeset')), 541 ('s', 'source', '',
542 ('b', 'base', '', _('rebase from the base of the specified changeset ' 542 _('rebase from the specified changeset'), _('REV')),
543 '(up to greatest common ancestor of base and dest)')), 543 ('b', 'base', '',
544 ('d', 'dest', '', _('rebase onto the specified changeset')), 544 _('rebase from the base of the specified changeset '
545 '(up to greatest common ancestor of base and dest)'),
546 _('REV')),
547 ('d', 'dest', '',
548 _('rebase onto the specified changeset'), _('REV')),
545 ('', 'collapse', False, _('collapse the rebased changesets')), 549 ('', 'collapse', False, _('collapse the rebased changesets')),
546 ('', 'keep', False, _('keep original changesets')), 550 ('', 'keep', False, _('keep original changesets')),
547 ('', 'keepbranches', False, _('keep original branch names')), 551 ('', 'keepbranches', False, _('keep original branch names')),
548 ('', 'detach', False, _('force detaching of source from its original ' 552 ('', 'detach', False, _('force detaching of source from its original '
549 'branch')), 553 'branch')),