repo.or.cz
/
guilt.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
branch: fix a regression (refs not being copied)
[guilt.git]
/
guilt-help
blob
01a737ea52cfa5e88335789840186e7b22f1e995
1
#!/bin/sh
2
#
3
# Copyright (c) Josef "Jeff" Sipek, 2007
4
#
5
6
DO_NOT_CHECK_BRANCH_EXISTENCE
=
1
7
8
USAGE
=
"[<command> | <topic>]"
9
.
`dirname
$0
`
/
guilt
10
11
case
$#
in
12
0
)
13
page
=
"guilt"
14
;;
15
1
)
16
case
"
$1
"
in
17
guilt
*)
18
# guilt --help
19
# guilt-cmd --help
20
# guilt-help guilt-foo
21
page
=
"
$1
"
;;
22
*)
23
# guilt-help foo
24
page
=
"guilt-
$1
"
;;
25
esac
26
;;
27
*)
28
usage
29
;;
30
esac
31
32
exec
man
"
$page
"