Skip to content

Commit

Permalink
use square bracket for array (#424)
Browse files Browse the repository at this point in the history
according to the doc, key should be a string or array of strings
https://yargs.js.org/docs/#api-reference-optionkey-opt
  • Loading branch information
lepirlouit authored Sep 11, 2023
1 parent 4c9f840 commit 24e2ab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/util/cli_args.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ function add_proxy_arguments(yargs) {
function add_common_websocket_arguments(yargs, is_required=false) {
yargs
.option('signing_region', {
alias: ('s', 'region'),
alias: ['s', 'region'],
description: 'If you specify --signing_region then you will use websockets to connect. This' +
'is the region that will be used for computing the Sigv4 signature. This region must match the' +
'AWS region in your endpoint.',
Expand Down

0 comments on commit 24e2ab3

Please sign in to comment.