Code

pgtest.sh: Exit with status zero when using the 'help' command.
[postrr.git] / pgtest.sh
index d286d23a8e8bebd4f7afcfc02b9395c81ba198f4..3c746295d8e1901973847afd1a8bb1052a5b8503 100755 (executable)
--- a/pgtest.sh
+++ b/pgtest.sh
@@ -107,6 +107,9 @@ case "$1" in
                echo "Environment variables:"
                echo "  - TARGET"
                echo "    Target directory of the PostgreSQL test setup."
+               if test "$1" = "help"; then
+                       exit 0
+               fi
                exit 1
                ;;
 esac