mirror of
https://github.com/rancher/os.git
synced 2025-06-04 04:40:16 +00:00
17 lines
253 B
Bash
Executable File
17 lines
253 B
Bash
Executable File
#!/bin/bash
|
|
|
|
cd $(dirname $0)
|
|
|
|
echo Targets:
|
|
|
|
for i in *; do
|
|
if [ ! -x $i ] || [ ! -f $i ]; then
|
|
continue
|
|
fi
|
|
|
|
MSG=$(grep '^# help:' $i)
|
|
if [ -n "$MSG" ]; then
|
|
echo " " ${i}: $(echo $MSG | sed 's/# help://')
|
|
fi
|
|
done
|