Mercurial > hg
annotate tests/test-help @ 9513:ae88c721f916
cmdutil: service: add an optional runargs argument to pass the command to run
This would be necessary for inotify launching its server: the initial command
is a standard 'hg st'/'hg ci'/... but the daemon to run is 'hg inserve'
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Sun, 16 Aug 2009 11:30:24 +0900 |
parents | 01215ad04283 |
children | 9ed13f718e53 |
rev | line source |
---|---|
544
3d4d5f2aba9a
Remove bashisms and use /bin/sh instead of /bin/bash.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
429
diff
changeset
|
1 #!/bin/sh |
331 | 2 |
849
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
814
diff
changeset
|
3 hg |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
814
diff
changeset
|
4 hg -q |
596 | 5 hg help |
423
25afb21d97ba
Support for 'hg --version'. setup.py stores version from hg repository.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
350
diff
changeset
|
6 hg -q help |
331 | 7 hg add -h |
596 | 8 hg add --skjdfks |
331 | 9 hg help diff |
849
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
814
diff
changeset
|
10 hg help status |
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
814
diff
changeset
|
11 hg -q help status |
331 | 12 hg help foo |
849
8933ef744325
Further help improvements:
Thomas Arendsen Hein <thomas@intevation.de>
parents:
814
diff
changeset
|
13 hg skjdfks |
331 | 14 |
423
25afb21d97ba
Support for 'hg --version'. setup.py stores version from hg repository.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
350
diff
changeset
|
15 exit 0 |