aboutsummaryrefslogtreecommitdiff
path: root/trunk/src
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src')
-rwxr-xr-xtrunk/src/templatepkg9
1 files changed, 6 insertions, 3 deletions
diff --git a/trunk/src/templatepkg b/trunk/src/templatepkg
index 34bed38..f56dc95 100755
--- a/trunk/src/templatepkg
+++ b/trunk/src/templatepkg
@@ -70,9 +70,12 @@ function display_help {
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")
@@ -103,7 +106,7 @@ function display_help {
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>"
@@ -634,7 +637,7 @@ function template_remove {
function template_list {
# list templates
- # usage: template_list [template_name]
+ # usage: template_list [path]
local list basedir template