Skip to content
Myr

Add document links to errors

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

A link would also be helpful in resolving the error. link is to: https://github.com/tj/commander.js#avoiding-option-name-clashes

authored by abetomo · committed by Tomoaki Abe · parent c5a5e7b · Browse files · 1 file+3 added−1 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+3 added−1 removed

  • other:+3 added−1 removed

1 file+3 added−1 removed

modified:index.js+3 added-1 removed
466 unmodified lines
467 if (foundClash) {468 throw new Error(`option '${option.name()}' clashes with existing property '${option.attributeName()}' on Command469- call storeOptionsAsProperties(false) to store option values safely,470- or call storeOptionsAsProperties(true) to suppress this check,471- or change option name`);471- or change option name472473Read more on https://git.io/JJc0W`);474 }475 };476477 /**
1369 unmodified lines