tests/test-help
author Thomas Arendsen Hein <thomas@intevation.de>
Fri, 10 Mar 2006 11:33:28 +0100
changeset 1875 2f4a0734c100
parent 896 01215ad04283
permissions -rwxr-xr-x
Catch other exceptions (e.g. util.Abort) in parse(), too. This has the benefit of removing duplicate catching of AmbiguousCommand and UnknownCommand, and keeping all exception handling together.

#!/bin/sh

hg
hg -q
hg help
hg -q help
hg add -h
hg add --skjdfks
hg help diff
hg help status
hg -q help status
hg help foo
hg skjdfks

exit 0