Skip to content
Myr

Updated Readme.md to make custom help example portable

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

authored by Thomas Geraghty · committed by Thomas Geraghty · parent a12386a · Browse files · 1 file+2 added−2 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−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:Readme.md+2 added-2 removed
150 unmodified lines
151/**152 * Module dependencies.153 */154155var program = require('../');155var program = require('commander');156157program158 .version('0.0.1')159 .option('-f, --foo', 'enable some foo')
15 unmodified lines
175176console.log('stuff');177```178179yielding the following help output:179Yields the following help output when `node script-name.js -h` or `node script-name.js --help` are run:180181```182183Usage: custom-help [options]
56 unmodified lines