fix: --parseable may be used with any command

This commit is contained in:
Zoltan Kochan
2020-01-11 13:38:07 +02:00
parent 888dd61bb0
commit e03759efd3

View File

@@ -34,7 +34,14 @@ import pnpmCmds, {
import './logging/fileLogger'
import initReporter, { ReporterType } from './reporter'
const GLOBAL_OPTIONS = R.pick(['color', 'filter', 'help', 'dir', 'prefix'], allTypes)
const GLOBAL_OPTIONS = R.pick([
'color',
'dir',
'filter',
'help',
'parseable',
'prefix',
], allTypes)
const RENAMED_OPTIONS = {
'lockfile-directory': 'lockfile-dir',