Add some comments

This commit is contained in:
2013-06-28 13:56:18 +02:00
parent c233bc3dc8
commit 73f2f9f31b

View File

@@ -86,16 +86,19 @@ for arg in "$@"; do
fi fi
done done
# Show help and exit if help arguments or command are given.
if [ -n "$HELP" ] || [ "$command" == "help" ]; then if [ -n "$HELP" ] || [ "$command" == "help" ]; then
dotify-help dotify-help
exit exit
fi fi
# Show version info and exit if version arguments or command are given.
if [ -n "$VERSION" ] || [ "$command" == "version" ]; then if [ -n "$VERSION" ] || [ "$command" == "version" ]; then
dotify-help | head -1 dotify-help | head -1
exit exit
fi fi
# Deal with the commands.
case "$command" in case "$command" in
"info" ) "info" )
dotify-info dotify-info