Closed eush77 closed 8 years ago
This patch makes --repos and --urls boolean-valued, so that minimist doesn't treat the succeeding token as a value.
--repos
--urls
Example:
$ github-repositories -sr eush77 User required
What happened is that minimist parsed the command line into the following structure:
{ forks: false, f: false, sources: true, s: true, r: 'eush77', repos: 'eush77' }
It should rather be { repos: true }. This is what this patch is fixing.
{ repos: true }
Whoops, must've missed it. Thanks :).
This patch makes
--repos
and--urls
boolean-valued, so that minimist doesn't treat the succeeding token as a value.Example:
What happened is that minimist parsed the command line into the following structure:
It should rather be
{ repos: true }
. This is what this patch is fixing.