diff --git a/package.json b/package.json index 020e38f..81973ee 100644 --- a/package.json +++ b/package.json @@ -39,9 +39,6 @@ "url": "https://github.com/TomFrost/Cryptex/issues" }, "homepage": "https://github.com/TomFrost/Cryptex#readme", - "yargs": { - "parse-numbers": false - }, "eslintIgnore": [ "node_modules", "coverage" diff --git a/src/cli.js b/src/cli.js old mode 100644 new mode 100755 index bd07f8e..8d93ccb --- a/src/cli.js +++ b/src/cli.js @@ -11,6 +11,7 @@ const UserError = require('./lib/UserError') const yargs = require('yargs') const argv = yargs + .parserConfiguration({ 'parse-numbers': false }) .usage('Usage: $0 [options] ') .command('encrypt ', 'Encrypt the given plaintext string') .command('decrypt <base64>', 'Decrypt the given base64 string')