Skip to content

Commit 24e2ab3

Browse files
authored
use square bracket for array (#424)
according to the doc, key should be a string or array of strings https://yargs.js.org/docs/#api-reference-optionkey-opt
1 parent 4c9f840 commit 24e2ab3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/util/cli_args.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ function add_proxy_arguments(yargs) {
138138
function add_common_websocket_arguments(yargs, is_required=false) {
139139
yargs
140140
.option('signing_region', {
141-
alias: ('s', 'region'),
141+
alias: ['s', 'region'],
142142
description: 'If you specify --signing_region then you will use websockets to connect. This' +
143143
'is the region that will be used for computing the Sigv4 signature. This region must match the' +
144144
'AWS region in your endpoint.',

0 commit comments

Comments
 (0)