Skip to content

Commit

Permalink
[Docs]modify sample file to match readme
Browse files Browse the repository at this point in the history
  • Loading branch information
unikounio committed Mar 11, 2024
1 parent 3b103aa commit 71bbf3e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion example/parse.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
'use strict';

var argv = require('../')(process.argv.slice(2));
// const minimist = require('minimist'); // (normal include)
const minimist = require('../'); // include minimist in git clone of minimist repo

const argv = minimist(process.argv.slice(2));
console.log(argv);

0 comments on commit 71bbf3e

Please sign in to comment.