Skip to content
This repository was archived by the owner on Aug 16, 2021. It is now read-only.

Commit ac8aa62

Browse files
committed
style
1 parent a349c47 commit ac8aa62

File tree

1 file changed

+36
-36
lines changed

1 file changed

+36
-36
lines changed

nancy_run.sh

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -179,69 +179,69 @@ while true; do
179179
nancy help
180180
181181
" | less -RFX
182-
exit ;;
182+
exit ;;
183183
-d | --debug ) DEBUG=1; shift ;;
184184
--run-on )
185-
RUN_ON="$2"; shift 2 ;;
185+
RUN_ON="$2"; shift 2 ;;
186186
--container-id )
187-
CONTAINER_ID="$2"; shift 2 ;;
187+
CONTAINER_ID="$2"; shift 2 ;;
188188
--pg-version )
189-
PG_VERSION="$2"; shift 2 ;;
189+
PG_VERSION="$2"; shift 2 ;;
190190
--pg-config )
191-
#Still unsupported
192-
PG_CONFIG="$2"; shift 2;;
191+
#Still unsupported
192+
PG_CONFIG="$2"; shift 2;;
193193
--db-prepared-snapshot )
194-
#Still unsupported
195-
DB_PREPARED_SNAPSHOT="$2"; shift 2 ;;
194+
#Still unsupported
195+
DB_PREPARED_SNAPSHOT="$2"; shift 2 ;;
196196
--db-dump-path )
197-
DB_DUMP_PATH="$2"; shift 2 ;;
197+
DB_DUMP_PATH="$2"; shift 2 ;;
198198
--after-db-init-code )
199-
#s3 url|filename|content
200-
AFTER_DB_INIT_CODE="$2"; shift 2 ;;
201-
--workload-full-path )
199+
#s3 url|filename|content
200+
AFTER_DB_INIT_CODE="$2"; shift 2 ;;
201+
--workload-full-path )
202202
#s3 url
203-
WORKLOAD_FULL_PATH="$2"; shift 2 ;;
203+
WORKLOAD_FULL_PATH="$2"; shift 2 ;;
204204
--workload-basis-path )
205-
#Still unsuported
206-
WORKLOAD_BASIS_PATH="$2"; shift 2 ;;
205+
#Still unsupported
206+
WORKLOAD_BASIS_PATH="$2"; shift 2 ;;
207207
--workload-custom-sql )
208-
#s3 url|filename|content
209-
WORKLOAD_CUSTOM_SQL="$2"; shift 2 ;;
208+
#s3 url|filename|content
209+
WORKLOAD_CUSTOM_SQL="$2"; shift 2 ;;
210210
--workload-replay-speed )
211-
WORKLOAD_REPLAY_SPEED="$2"; shift 2 ;;
211+
WORKLOAD_REPLAY_SPEED="$2"; shift 2 ;;
212212
--target-ddl-do )
213-
#s3 url|filename|content
214-
TARGET_DDL_DO="$2"; shift 2 ;;
213+
#s3 url|filename|content
214+
TARGET_DDL_DO="$2"; shift 2 ;;
215215
--target-ddl-undo )
216-
#s3 url|filename|content
217-
TARGET_DDL_UNDO="$2"; shift 2 ;;
216+
#s3 url|filename|content
217+
TARGET_DDL_UNDO="$2"; shift 2 ;;
218218
--target-config )
219-
#s3 url|filename|content
220-
TARGET_CONFIG="$2"; shift 2 ;;
219+
#s3 url|filename|content
220+
TARGET_CONFIG="$2"; shift 2 ;;
221221
--artifacts-destination )
222-
ARTIFACTS_DESTINATION="$2"; shift 2 ;;
222+
ARTIFACTS_DESTINATION="$2"; shift 2 ;;
223223
--artifacts-filename )
224-
ARTIFACTS_FILENAME="$2"; shift 2 ;;
224+
ARTIFACTS_FILENAME="$2"; shift 2 ;;
225225

226226
--aws-ec2-type )
227-
AWS_EC2_TYPE="$2"; shift 2 ;;
227+
AWS_EC2_TYPE="$2"; shift 2 ;;
228228
--aws-keypair-name )
229-
AWS_KEY_PAIR="$2"; shift 2 ;;
229+
AWS_KEY_PAIR="$2"; shift 2 ;;
230230
--aws-ssh-key-path )
231-
AWS_KEY_PATH="$2"; shift 2 ;;
231+
AWS_KEY_PATH="$2"; shift 2 ;;
232232

233233
--s3cfg-path )
234-
S3_CFG_PATH="$2"; shift 2 ;;
234+
S3_CFG_PATH="$2"; shift 2 ;;
235235
--tmp-path )
236-
TMP_PATH="$2"; shift 2 ;;
236+
TMP_PATH="$2"; shift 2 ;;
237237
--debug-timeout )
238-
DEBUG_TIMEOUT="$2"; shift 2 ;;
238+
DEBUG_TIMEOUT="$2"; shift 2 ;;
239239
-- )
240-
>&2 echo "ERROR: Invalid option '$1'"
241-
exit 1;
242-
break ;;
240+
>&2 echo "ERROR: Invalid option '$1'"
241+
exit 1;
242+
break ;;
243243
* )
244-
[ "$1" != "" ] && >&2 echo "ERROR: Invalid option '$1'. Please verify command options." && exit 1;
244+
[ "$1" != "" ] && >&2 echo "ERROR: Invalid option '$1'. Please double-check options." && exit 1;
245245
break ;;
246246
esac
247247
done

0 commit comments

Comments
 (0)