Skip to content

Commit

Permalink
correct types of CLI parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
martinfrancois authored Oct 14, 2020
1 parent 111057a commit 3af4ac2
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ export const SAUCE_CONNECT_CLI_PARAMS = [{
description: 'Use specified name server. To specify multiple servers, separate them with comma. Use IP addresses, optionally with a port number, the two separated by a colon. Example: --dns 8.8.8.8,8.8.4.4:53'
}, {
name: 'doctor',
description: 'Perform checks to detect possible misconfiguration or problems.'
description: 'Perform checks to detect possible misconfiguration or problems.',
type: 'boolean'
}, {
alias: 'F',
name: 'fast-fail-regexps',
Expand Down Expand Up @@ -189,14 +190,17 @@ export const SAUCE_CONNECT_CLI_PARAMS = [{
description: 'host:port for the internal web server used to expose client side metrics. (default "localhost:8888")'
}, {
name: 'no-autodetect',
description: 'Disable the autodetection of proxy settings.'
description: 'Disable the autodetection of proxy settings.',
type: 'boolean'
}, {
alias: 'N',
name: 'no-proxy-caching',
description: 'Disable caching in Sauce Connect. All requests will be sent through the tunnel.'
description: 'Disable caching in Sauce Connect. All requests will be sent through the tunnel.',
type: 'boolean'
}, {
name: 'no-remove-colliding-tunnels',
description: 'Don\'t remove identified tunnels with the same name, or any other default tunnels if this is a default tunnel. Jobs will be distributed between these tunnels, enabling load balancing and high availability. By default, colliding tunnels will be removed when Sauce Connect is starting up.'
description: 'Don\'t remove identified tunnels with the same name, or any other default tunnels if this is a default tunnel. Jobs will be distributed between these tunnels, enabling load balancing and high availability. By default, colliding tunnels will be removed when Sauce Connect is starting up.',
type: 'boolean'
}, {
alias: 'B',
name: 'no-ssl-bump-domains',
Expand All @@ -211,7 +215,8 @@ export const SAUCE_CONNECT_CLI_PARAMS = [{
}, {
alias: 'T',
name: 'proxy-tunnel',
description: 'Use the proxy configured with -p for the tunnel connection.'
description: 'Use the proxy configured with -p for the tunnel connection.',
type: 'boolean'
}, {
alias: 'w',
name: 'proxy-userpwd',
Expand Down Expand Up @@ -243,7 +248,8 @@ export const SAUCE_CONNECT_CLI_PARAMS = [{
}, {
alias: 's',
name: 'shared-tunnel',
description: 'Let sub-accounts of the tunnel owner use the tunnel if requested.'
description: 'Let sub-accounts of the tunnel owner use the tunnel if requested.',
type: 'boolean'
}, {
name: 'tunnel-cainfo',
description: 'CA certificate bundle to use for verifying tunnel connections. (default "/usr/local/etc/openssl/cert.pem")'
Expand Down

0 comments on commit 3af4ac2

Please sign in to comment.