From caa1323bf03fc581be97ff8b492607c13da98aeb Mon Sep 17 00:00:00 2001 From: Isaac Murchie Date: Wed, 6 Apr 2016 12:59:26 -0700 Subject: [PATCH] Deprecate --command-timeout server arg --- lib/parser.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/parser.js b/lib/parser.js index 26e3b9573..ff75b7069 100644 --- a/lib/parser.js +++ b/lib/parser.js @@ -259,16 +259,6 @@ const args = [ help: 'Bypass Appium\'s checks to ensure we can read/write necessary files', }], - [['--command-timeout'], { - defaultValue: 60, - dest: 'defaultCommandTimeout', - type: 'int', - required: false, - help: 'The default command timeout for the server to use for all ' + - 'sessions (in seconds and should be less than 2147483). ' + - 'Will still be overridden by newCommandTimeout cap', - }], - [['--strict-caps'], { defaultValue: false, dest: 'enforceStrictCaps', @@ -356,6 +346,16 @@ const args = [ ]; const deprecatedArgs = [ + [['--command-timeout'], { + defaultValue: 60, + dest: 'defaultCommandTimeout', + type: 'int', + required: false, + help: '[DEPRECATED] No effect. This used to be the default command ' + + 'timeout for the server to use for all sessions (in seconds and ' + + 'should be less than 2147483). Use newCommandTimeout cap instead' + }], + [['-k', '--keep-artifacts'], { defaultValue: false, dest: 'keepArtifacts',