fix dryrun opt
This commit is contained in:
parent
f1d130a3d8
commit
3e60032793
|
@ -41,7 +41,7 @@ while getopts "b:d:nh" opt; do
|
||||||
database=${OPTARG}
|
database=${OPTARG}
|
||||||
;;
|
;;
|
||||||
n )
|
n )
|
||||||
dryrun=${OPTARG}
|
dryrun=true
|
||||||
;;
|
;;
|
||||||
\? )
|
\? )
|
||||||
echo "Invalid option: $OPTARG" 1>&2
|
echo "Invalid option: $OPTARG" 1>&2
|
||||||
|
|
Loading…
Reference in New Issue
Block a user