From 3932099b2fc9e4eaeed87e98eedc30757ca6177e Mon Sep 17 00:00:00 2001 From: rhatto Date: Sat, 28 Apr 2007 00:44:02 +0000 Subject: templatepkg: small cosmetic changes git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@364 04377dda-e619-0410-9926-eae83683ac58 --- trunk/src/templatepkg | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'trunk/src/templatepkg') 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 " ;; "-l" | "--list") - echo " $BASENAME $option [template-name]" + echo " $BASENAME $option [path]" ;; "-b" | "--batch-edit") echo " $BASENAME $option " @@ -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 -- cgit v1.2.3