Skip to content

Commit

Permalink
Merge pull request #280 from zhiyelee/fixdemo
Browse files Browse the repository at this point in the history
fix a bug in the `Variadic arguments` demo
  • Loading branch information
zhiyelee committed Oct 22, 2014
2 parents af05389 + 2147ce8 commit 2878611
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ program
console.log('rmdir %s', oDir);
});
}
})
.parse(process.argv);
});

program.parse(process.argv);
```

An `Array` is used for the value of a variadic argument. This applies to `program.args` as well as the argument passed
Expand Down

0 comments on commit 2878611

Please sign in to comment.