aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto>2006-10-12 18:29:34 +0000
committerrhatto <rhatto>2006-10-12 18:29:34 +0000
commitb13e8fdc3e9d75e03345575fa38f578ef5dbaadf (patch)
tree834f10da384f2f88d662f3bfe2996748b3f903bb
parentb2652124bdb93e6adf1a79ba9cdc932b972e3811 (diff)
downloadfirma-b13e8fdc3e9d75e03345575fa38f578ef5dbaadf.tar.gz
firma-b13e8fdc3e9d75e03345575fa38f578ef5dbaadf.tar.bz2
small fix on help
-rwxr-xr-xfirma12
1 files changed, 7 insertions, 5 deletions
diff --git a/firma b/firma
index 92ff8c3..d45aecb 100755
--- a/firma
+++ b/firma
@@ -1883,7 +1883,7 @@ function SourceFirmaConfig {
# returns: 0
#-------------------------------------------------------------
- [ "$1" == "help" ] && echo -e "List mandatory firma config parameters\n\n"
+ [ "$1" == "help" ] && echo -e "\nList mandatory firma config parameters\n"
[ "$1" == "help" ] && echo "GPG_BINARY= path to the GnuPG binary" || \
GPG_BINARY="`EvalConfigParameter $FIRMA_CONFIG_FILE GPG_BINARY`"
@@ -1897,7 +1897,7 @@ function SourceFirmaConfig {
[ "$1" == "help" ] && echo "LISTS_DIR= path to the mailing lists directory" || \
LISTS_DIR="`EvalConfigParameter $FIRMA_CONFIG_FILE LISTS_DIR`"
- [ "$1" == "help" ] && echo -e "List optional firma config parameters\n\n"
+ [ "$1" == "help" ] && echo -e "\nList optional firma config parameters\n"
[ "$1" == "help" ] && echo "USER= user that runs firma (usually the same as your MTA user);
defaults to "nobody"; you can also specify this parameter
@@ -2216,11 +2216,13 @@ case $# in
echo "you should enter PARAMETER='value' (without spaces before or after the equal sign)."
SourceFirmaConfig help
SourceListConfig help
+ EXIT_CODE=0
+ else
+ echo >&2 "$(basename $0): too many arguments -- $@"
+ Usage
+ EXIT_CODE=1
fi
fi
- echo >&2 "$(basename $0): too many arguments -- $@"
- Usage
- EXIT_CODE=1
;;
*)
echo >&2 "$(basename $0): invalid option -- $1"