Skip to content
Myr

remove unused list function from custom-help example

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

authored by Drew Fyock · committed by zhiyelee · parent 0ecb81c · Browse files · 2 files+0 added−8 removed
This commit

State

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

Diff stats

2 files+0 added−8 removed

  • other:+0 added−8 removed

2 files+0 added−8 removed

modified:examples/custom-help-4 removed
4 unmodified lines
5 */67var program = require('../');89function list(val) {10 return val.split(',').map(Number);11}129program10 .version('0.0.1')11 .option('-f, --foo', 'enable some foo')12 .option('-b, --bar', 'enable some bar')
16 unmodified lines
modified:Readme.md-4 removed
117 unmodified lines
118 */119120var program = require('../');121122function list(val) {123 return val.split(',').map(Number);124}125122program123 .version('0.0.1')124 .option('-f, --foo', 'enable some foo')125 .option('-b, --bar', 'enable some bar')
79 unmodified lines