diff --git a/cli.js b/cli.js index c54aa987..57a34138 100755 --- a/cli.js +++ b/cli.js @@ -38,6 +38,8 @@ if (isArg('--help') || isArg('-h')) { } else if (isArg('--version') || isArg('-v')) { process.stdout.write('browserslist ' + pkg.version + '\n') } else if (isArg('--update-db')) { + process.stdout.write('The --update-db command is deprecated. Please use npx update-browserslist-db@latest instead.\n') + process.stdout.write('Browserslist DB update will still be made.\n') /* c8 ignore next 3 */ updateDb(function (str) { process.stdout.write(str)