28 lines
504 B
Bash
Executable File
28 lines
504 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Start me to print all the helps to
|
|
# all the commands within this repository
|
|
|
|
|
|
cd $( dirname $0 )/bin
|
|
|
|
(
|
|
echo Add the tools to PATH by sourcing the "rc" in this folder
|
|
|
|
echo -e "\n===== COMMANDS IN qcd_function ====="
|
|
echo -e "===================================="
|
|
|
|
grep "^function " -A 1 ../qcd_function
|
|
|
|
|
|
echo -e "\n===== COMMANDS IN bin/ ====="
|
|
echo -e "============================"
|
|
for e in *; do
|
|
test -x $e || continue
|
|
echo -e "\n===== $e =====\n"
|
|
./$e -h
|
|
done
|
|
|
|
) | less
|
|
|