Skip to content

Commit

Permalink
wrote help
Browse files Browse the repository at this point in the history
  • Loading branch information
guarise committed Jun 6, 2014
1 parent b9dada5 commit 660b219
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions ssm-dupl-send/ssm-dupl-send.sh
Expand Up @@ -63,11 +63,23 @@ while true ; do
done

if [ $HELP -eq 1 ]; then
echo -n
"USAGE: ssm-dupl-send.sh [OPTIONS]
OPTIONS:
-c --apelclient path -- OPTIONAL, full path to the apelclient command [DEFAULT: /usr/bin/apelclient]"
exit 0
cat << EOF
Usage: ssm-dupl-send.sh [OPTIONS]
Duplicates messages created by apelclient before sending them through ssmsend
OPTIONS:
-c, --apelclient cmd-path the apelclient executable [/usr/bin/apelclient]
-C, --apelclientconf apel-config the apelclient config file [/etc/apel/client.cfg]
-s, --ssmsend cmd-path the ssmsend executable [/usr/bin/ssmsend]
-S, --ssmsendconf ssm-apel-config ssm config file pointing to EGI broker [/etc/apel/sender.cfg]
-F, --ssmfaustconf ssm-faust-config ssm config file pointing to local broker [/etc/apel/sender.cfg]
-d, --apeldir path path to standard apel message location [/var/spool/apel/outgoing]
-D, --faustdir path path to directory used to store local copies of messages [/var/spool/faust/outgoing]
-h, --help this help.
EOF

exit 0
fi

if [ -e $APELCLIENT_EXECUTABLE ]; then
Expand Down

0 comments on commit 660b219

Please sign in to comment.