tests/test-help
author Thomas Arendsen Hein <thomas@intevation.de>
Sat, 06 Aug 2005 15:43:12 +0100
changeset 849 8933ef744325
parent 814 0902ffece4b4
child 871 c2e77581bc84
child 874 d4cb383e7de7
child 894 62ec665759f2
child 896 01215ad04283
permissions -rwxr-xr-x
Further help improvements: Show command aliases in 'hg help something', unless in quiet mode. Show short command description with 'hg help -q something'. Show global options in verbose mode of command help. State that Mercurial is a Distributed SCM.

#!/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