option="`echo $option | sed -e 's/--/-/' -e 's/\(..\).*/\1/'`"
fi
+ echo "$BASENAME: help for option $option:"
+ echo ""
+
usage_summary | grep -e "^ $option"
- echo " "
+ echo ""
case $option in
"-c" | "--create")
echo " $BASENAME $option <template-name>"
;;
"-l" | "--list")
- echo " $BASENAME $option [template-name]"
+ echo " $BASENAME $option [path]"
;;
"-b" | "--batch-edit")
echo " $BASENAME $option <template-name> <script-name>"
function template_list {
# list templates
- # usage: template_list [template_name]
+ # usage: template_list [path]
local list basedir template