From 512c2cbfec1db53068e9b805e181ec1b38d30a41 Mon Sep 17 00:00:00 2001 From: Patrik Henningsson Date: Wed, 23 Jun 2021 20:19:40 +0200 Subject: [PATCH] Fix issue with command line options stopped working --- bin/cli.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/cli.js b/bin/cli.js index 27e72935..d8f14cd7 100755 --- a/bin/cli.js +++ b/bin/cli.js @@ -10,6 +10,9 @@ const ora = require('ora'); const chalk = require('chalk'); const startTime = Date.now(); +// Revert https://github.com/tj/commander.js/pull/1409 +program.storeOptionsAsProperties(); + program .version(version) .usage('[options] ')