diff --git a/bin/codecept.js b/bin/codecept.js index 7fdb41db1..f8cd0a6cb 100755 --- a/bin/codecept.js +++ b/bin/codecept.js @@ -174,7 +174,7 @@ program .option('-R, --reporter ', 'specify the reporter to use') .option('-S, --sort', 'sort test files') .option('-b, --bail', 'bail after first test failure') - .option('-d, --debug', "enable node's debugger, synonym for node --debug") + .option('--inspec', "enable node's debugger, synonym for node --debug") .option('-g, --grep ', 'only run tests matching ') .option('-f, --fgrep ', 'only run tests containing ') .option('-i, --invert', 'inverts --grep and --fgrep matches') @@ -276,7 +276,7 @@ program .option('-R, --reporter ', 'specify the reporter to use') .option('-S, --sort', 'sort test files') .option('-b, --bail', 'bail after first test failure') - .option('-d, --debug', "enable node's debugger, synonym for node --debug") + .option('--inspect', "enable node's debugger, synonym for node --debug") .option('-g, --grep ', 'only run tests matching ') .option('-f, --fgrep ', 'only run tests containing ') .option('-i, --invert', 'inverts --grep and --fgrep matches') diff --git a/package.json b/package.json index 16b464ff5..2ee03929b 100644 --- a/package.json +++ b/package.json @@ -98,7 +98,7 @@ "chalk": "4.1.2", "cheerio": "^1.0.0", "chokidar": "^4.0.3", - "commander": "11.1.0", + "commander": "14.0.2", "cross-spawn": "7.0.6", "css-to-xpath": "0.1.0", "csstoxpath": "1.6.0",