From 24e2ab391c5f0826066039cfc33f79949c9ebd6d Mon Sep 17 00:00:00 2001 From: LePirlouit Date: Mon, 11 Sep 2023 19:15:04 +0200 Subject: [PATCH] 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 --- samples/util/cli_args.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/util/cli_args.js b/samples/util/cli_args.js index 66694a92..443107f2 100644 --- a/samples/util/cli_args.js +++ b/samples/util/cli_args.js @@ -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.',