[issue2009] 1.4.1: Do not display full HELP on unknown command

Jari Aalto bugs at mercurial.selenic.com
Sun Jan 31 15:24:13 UTC 2010


New submission from Jari Aalto <jari.aalto at cante.net>:

Please change response to erroneous input. The "HELP" listing takes fair 
number of lines to return to previous command that was under way.

Suggestion, display only brief message:

  $ hg -m "update README"
  Error: invalid command. See hg help.

----------------------------------------------
$ hg -m "update README"

hg: option -m not recognized
Mercurial Distributed SCM

basic commands:

 add        add the specified files on the next commit
 annotate   show changeset information by line for each file
 clone      make a copy of an existing repository
 commit     commit the specified files or all outstanding changes
 diff       diff repository (or selected files)
 export     dump the header and diffs for one or more changesets
 ...

----------
messages: 11548
nosy: jaalto
priority: wish
status: unread
title: 1.4.1: Do not display full HELP on unknown command

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2009>
____________________________________________________


More information about the Mercurial-devel mailing list