You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
diff --git a/firebase-dataconnect/emulator/emulator.sh b/firebase-dataconnect/emulator/emulator.sh
index 7358a82..3efc204 100755
--- a/firebase-dataconnect/emulator/emulator.sh
+++ b/firebase-dataconnect/emulator/emulator.sh
@@ -37,9 +37,10 @@ function parse_args {
local OPTIND=1
local OPTERR=0
- while getopts ":c:p:v:hw" arg ; do
+ while getopts ":c:p:v:hwg" arg ; do
case "$arg" in
c) emulator_binary="${OPTARG}" ;;
+ g) emulator_binary="gradle" ;;
p) postgresql_string="${OPTARG}" ;;
v) preview_flags="${OPTARG}" ;;
w) wipe_and_restart_postgres_pod=1 ;;
@@ -107,6 +108,9 @@ function print_help {
echo " will use the same CLI as the Gradle build. If not specified, or if specified "
echo " as the empty string, then the emulator binary is downloaded."
echo
+ echo " -g"
+ echo " Shorthand for: -c gradle"
+ echo
echo " -p <postgresql_connection_string>"
echo " Uses the given string to connect to the PostgreSQL server. If not specified "
echo " the the default value of \"${DEFAULT_POSTGRESQL_STRING}\" is used."
0 commit comments