Skip to content
Merged
Prev Previous commit
Next Next commit
Lint and feedback
  • Loading branch information
shadowspawn committed Jul 4, 2022
commit 0da08c83be1f75c09d59a96c5481105516eed899
8 changes: 4 additions & 4 deletions examples/negate.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
const { parseArgs } = require('..'); // in repo

const options = {
['color']: { type: 'string' },
['no-color']: { type: 'boolean' },
['logfile']: { type: 'string' },
['no-logfile']: { type: 'boolean' },
'color': { type: 'string' },
'no-color': { type: 'boolean' },
'logfile': { type: 'string' },
'no-logfile': { type: 'boolean' },
};
const { values, tokens } = parseArgs({ options, tokens: true });

Expand Down