Skip to content
Myr

Version flag is -V, and not -v, according to https://github.com/visionmedia/commander.js/blob/master/lib/commander.js#L574

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Cliffano Subagio · committed by Cliffano Subagio · parent d660ff3 · Browse files · 1 file+2 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−3 removed

  • other:+2 added−3 removed

1 file+2 added−3 removed

modified:Readme.md+2 added-3 removed
11# Commander.js23 The complete solution for [node.js](http://nodejs.org) command-line interfaces, inspired by Ruby's [commander](https://github.com/visionmedia/commander).4
43 unmodified lines
48 Usage: pizza [options]4950 Options:5153 -v, --version output the version number52 -V, --version output the version number53 -p, --peppers Add peppers54 -P, --pineapple Add pineappe55 -b, --bbq Add bbq sauce56 -c, --cheese <type> Add the specified type of cheese [marble]
83 unmodified lines
140141Options:142143 -h, --help output usage information145 -v, --version output the version number144 -V, --version output the version number145 -f, --foo enable some foo146 -b, --bar enable some bar147 -B, --baz enable some baz148
114 unmodified lines