patchbomb: do not include "1/1" in the subject if there's only 1 patch
[guilt.git] / guilt-help
blob01a737ea52cfa5e88335789840186e7b22f1e995
1 #!/bin/sh
3 # Copyright (c) Josef "Jeff" Sipek, 2007
6 DO_NOT_CHECK_BRANCH_EXISTENCE=1
8 USAGE="[<command> | <topic>]"
9 . `dirname $0`/guilt
11 case $# in
13 page="guilt"
16 case "$1" in
17 guilt*)
18 # guilt --help
19 # guilt-cmd --help
20 # guilt-help guilt-foo
21 page="$1" ;;
23 # guilt-help foo
24 page="guilt-$1" ;;
25 esac
28 usage
30 esac
32 exec man "$page"