summaryrefslogtreecommitdiff
path: root/git-shell-commands/help
blob: f2970d52e668bdb1bbb96f64470a08ad5a40896b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# * help
#   Get enabled commands
#   ssh git@host help

set -e

# Gets the initial comment after the shebeng from every git-shell-command
for c in "$(dirname "$0")"/*; do
	sed -rn '2,/^[^#]/s/^# ?//p' "$c"
	echo
done