Skip to content
Myr

typos

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

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent 6e3993d · Browse files · 2 files+3 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

2 files+3 added−3 removed

  • other:+3 added−3 removed

2 files+3 added−3 removed

modified:examples/pizza+2 added-2 removed
7 unmodified lines
89program10 .version('0.0.1')11 .option('-p, --peppers', 'Add peppers')12 .option('-P, --pineapple', 'Add pineappe')12 .option('-P, --pineapple', 'Add pineapple')13 .option('-b, --bbq', 'Add bbq sauce')14 .option('-c, --cheese <type>', 'Add the specified type of cheese [cheddar]')15 .option('-C, --no-cheese', 'You do not want any cheese')16 .parse(process.argv);1718console.log('you ordered a pizza with:');19if (program.peppers) console.log(' - peppers');20if (program.pineappe) console.log(' - pineappe');20if (program.pineappe) console.log(' - pineapple');21if (program.bbq) console.log(' - bbq');2223var cheese = true === program.cheese24 ? 'cheddar'
3 unmodified lines
modified:Readme.md+1 added-1 removed