Show More
@@ -370,9 +370,8 b' def _callcatch(ui, func):' | |||||
370 | ui.warn(_("hg %s: %s\n") % (inst.args[0], msgbytes)) |
|
370 | ui.warn(_("hg %s: %s\n") % (inst.args[0], msgbytes)) | |
371 | commands.help_(ui, inst.args[0], full=False, command=True) |
|
371 | commands.help_(ui, inst.args[0], full=False, command=True) | |
372 | else: |
|
372 | else: | |
373 | ui.pager('help') |
|
|||
374 | ui.warn(_("hg: %s\n") % inst.args[1]) |
|
373 | ui.warn(_("hg: %s\n") % inst.args[1]) | |
375 | commands.help_(ui, 'shortlist') |
|
374 | ui.warn(_("(use 'hg help -v' for a list of global options)\n")) | |
376 | except error.ParseError as inst: |
|
375 | except error.ParseError as inst: | |
377 | _formatparse(ui.warn, inst) |
|
376 | _formatparse(ui.warn, inst) | |
378 | return -1 |
|
377 | return -1 |
@@ -651,81 +651,15 b' invalid global arguments for normal comm' | |||||
651 |
|
651 | |||
652 | $ hg --invalid root |
|
652 | $ hg --invalid root | |
653 | hg: option --invalid not recognized |
|
653 | hg: option --invalid not recognized | |
654 | Mercurial Distributed SCM |
|
654 | (use 'hg help -v' for a list of global options) | |
655 |
|
||||
656 | basic commands: |
|
|||
657 |
|
||||
658 | add add the specified files on the next commit |
|
|||
659 | annotate show changeset information by line for each file |
|
|||
660 | clone make a copy of an existing repository |
|
|||
661 | commit commit the specified files or all outstanding changes |
|
|||
662 | diff diff repository (or selected files) |
|
|||
663 | export dump the header and diffs for one or more changesets |
|
|||
664 | forget forget the specified files on the next commit |
|
|||
665 | init create a new repository in the given directory |
|
|||
666 | log show revision history of entire repository or files |
|
|||
667 | merge merge another revision into working directory |
|
|||
668 | pull pull changes from the specified source |
|
|||
669 | push push changes to the specified destination |
|
|||
670 | remove remove the specified files on the next commit |
|
|||
671 | serve start stand-alone webserver |
|
|||
672 | status show changed files in the working directory |
|
|||
673 | summary summarize working directory state |
|
|||
674 | update update working directory (or switch revisions) |
|
|||
675 |
|
||||
676 | (use 'hg help' for the full list of commands or 'hg -v' for details) |
|
|||
677 | [255] |
|
655 | [255] | |
678 | $ hg --invalid mylog |
|
656 | $ hg --invalid mylog | |
679 | hg: option --invalid not recognized |
|
657 | hg: option --invalid not recognized | |
680 | Mercurial Distributed SCM |
|
658 | (use 'hg help -v' for a list of global options) | |
681 |
|
||||
682 | basic commands: |
|
|||
683 |
|
||||
684 | add add the specified files on the next commit |
|
|||
685 | annotate show changeset information by line for each file |
|
|||
686 | clone make a copy of an existing repository |
|
|||
687 | commit commit the specified files or all outstanding changes |
|
|||
688 | diff diff repository (or selected files) |
|
|||
689 | export dump the header and diffs for one or more changesets |
|
|||
690 | forget forget the specified files on the next commit |
|
|||
691 | init create a new repository in the given directory |
|
|||
692 | log show revision history of entire repository or files |
|
|||
693 | merge merge another revision into working directory |
|
|||
694 | pull pull changes from the specified source |
|
|||
695 | push push changes to the specified destination |
|
|||
696 | remove remove the specified files on the next commit |
|
|||
697 | serve start stand-alone webserver |
|
|||
698 | status show changed files in the working directory |
|
|||
699 | summary summarize working directory state |
|
|||
700 | update update working directory (or switch revisions) |
|
|||
701 |
|
||||
702 | (use 'hg help' for the full list of commands or 'hg -v' for details) |
|
|||
703 | [255] |
|
659 | [255] | |
704 | $ hg --invalid blank |
|
660 | $ hg --invalid blank | |
705 | hg: option --invalid not recognized |
|
661 | hg: option --invalid not recognized | |
706 | Mercurial Distributed SCM |
|
662 | (use 'hg help -v' for a list of global options) | |
707 |
|
||||
708 | basic commands: |
|
|||
709 |
|
||||
710 | add add the specified files on the next commit |
|
|||
711 | annotate show changeset information by line for each file |
|
|||
712 | clone make a copy of an existing repository |
|
|||
713 | commit commit the specified files or all outstanding changes |
|
|||
714 | diff diff repository (or selected files) |
|
|||
715 | export dump the header and diffs for one or more changesets |
|
|||
716 | forget forget the specified files on the next commit |
|
|||
717 | init create a new repository in the given directory |
|
|||
718 | log show revision history of entire repository or files |
|
|||
719 | merge merge another revision into working directory |
|
|||
720 | pull pull changes from the specified source |
|
|||
721 | push push changes to the specified destination |
|
|||
722 | remove remove the specified files on the next commit |
|
|||
723 | serve start stand-alone webserver |
|
|||
724 | status show changed files in the working directory |
|
|||
725 | summary summarize working directory state |
|
|||
726 | update update working directory (or switch revisions) |
|
|||
727 |
|
||||
728 | (use 'hg help' for the full list of commands or 'hg -v' for details) |
|
|||
729 | [255] |
|
663 | [255] | |
730 |
|
664 | |||
731 | environment variable changes in alias commands |
|
665 | environment variable changes in alias commands |
General Comments 0
You need to be logged in to leave comments.
Login now