aboutsummaryrefslogtreecommitdiff
path: root/trunk/src/templatepkg
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-28 00:44:02 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-28 00:44:02 +0000
commit3932099b2fc9e4eaeed87e98eedc30757ca6177e (patch)
treef1694856ff8ff81db168f4b204eda7064b41b9f5 /trunk/src/templatepkg
parentb3101763bad7d035ebeb3d023e11befd87aecea9 (diff)
downloadsimplepkg-3932099b2fc9e4eaeed87e98eedc30757ca6177e.tar.gz
simplepkg-3932099b2fc9e4eaeed87e98eedc30757ca6177e.tar.bz2
templatepkg: small cosmetic changes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@364 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src/templatepkg')
-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