mercurial/dispatch.py
changeset 38827 5199c5b6fd29
parent 38809 afc4ad706f9c
child 38828 a9ff2b0c11dd
equal deleted inserted replaced
38826:28d8b5f49b4d 38827:5199c5b6fd29
   392                 if sim:
   392                 if sim:
   393                     ui.warn(nocmdmsg)
   393                     ui.warn(nocmdmsg)
   394                     _reportsimilar(ui.warn, sim)
   394                     _reportsimilar(ui.warn, sim)
   395                     suggested = True
   395                     suggested = True
   396             if not suggested:
   396             if not suggested:
   397                 ui.pager('help')
       
   398                 ui.warn(nocmdmsg)
   397                 ui.warn(nocmdmsg)
   399                 commands.help_(ui, 'shortlist')
   398                 ui.warn(_("(use 'hg help' for a list of commands)\n"))
   400     except IOError:
   399     except IOError:
   401         raise
   400         raise
   402     except KeyboardInterrupt:
   401     except KeyboardInterrupt:
   403         raise
   402         raise
   404     except:  # probably re-raises
   403     except:  # probably re-raises