Debian Codegraph @

contrib/git-shell-commands/help

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2
3 if ttyscip-shell system . . tty. -s
4 then
5 echoscip-shell system . . echo. "Run 'help' for help, or 'exit' to leave. Available commands:"
6 else
7 echoscip-shell system . . echo. "Run 'help' for help. Available commands:"
8 fi
9
10 cd "$(dirnamescip-shell system . . dirname. "$0")"
11
12 for cmd in *
13 do
14 case "$cmd" in
15 help) ;;
16 *) [scip-shell system . . `[`. -f "$cmd" ] && [scip-shell system . . `[`. -x "$cmd" ] && echoscip-shell system . . echo. "$cmd" ;;
17 esac
18 done