mercurial/dispatch.py
branchstable
changeset 21961 af15de6775c7
parent 21824 57c70d3ad1c9
child 22158 bc2132dfc0a4
child 22376 d821fff9b0b9
equal deleted inserted replaced
21960:2896d450fec4 21961:af15de6775c7
   764             ui_.setconfig('web', 'cacerts', '', '--insecure')
   764             ui_.setconfig('web', 'cacerts', '', '--insecure')
   765 
   765 
   766     if options['version']:
   766     if options['version']:
   767         return commands.version_(ui)
   767         return commands.version_(ui)
   768     if options['help']:
   768     if options['help']:
   769         return commands.help_(ui, cmd)
   769         return commands.help_(ui, cmd, command=True)
   770     elif not cmd:
   770     elif not cmd:
   771         return commands.help_(ui, 'shortlist')
   771         return commands.help_(ui, 'shortlist')
   772 
   772 
   773     repo = None
   773     repo = None
   774     cmdpats = args[:]
   774     cmdpats = args[:]