Issue #11: Fix command line arguments reading

Signed-off-by: Lucas Fernandes de Oliveira's avatarLucas Fernandes de Oliveira <lfoliveira@inf.ufpr.br>
parent ec71f122
Pipeline #20995 passed with stage
in 1 minute and 6 seconds
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Script used as interface to manage a PostgreSQL database # Script used as interface to manage a PostgreSQL database
if [[ $# -ne 1 && $# -ne 2 ]]; then if [[ $# -ne 2 && $# -ne 3 ]]; then
echo "Correct use: $0 <dbms> <task> [directory]" echo "Correct use: $0 <dbms> <task> [directory]"
echo "The allowed dbms's are: psql and monet" echo "The allowed dbms's are: psql and monet"
echo "The allowed tasks are: create, load, fixture, drop and clean" echo "The allowed tasks are: create, load, fixture, drop and clean"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment