diff --git a/lib/cli.ts b/lib/cli.ts index 7a0328867..c0aa1202c 100644 --- a/lib/cli.ts +++ b/lib/cli.ts @@ -181,7 +181,9 @@ if (!argv.disableChecks) { }); if (unknownKeys.length > 0) { - throw new Error('Found extra flags: ' + unknownKeys.join(', ')); + throw new Error( + 'Found extra flags: ' + unknownKeys.join(', ') + + ', please use --disableChecks flag to disable the Protractor CLI flag checks.'); } }