From 8fb669ffcd3ed360081b088420b287cf551349be Mon Sep 17 00:00:00 2001 From: abetomo Date: Mon, 20 Jul 2020 07:12:51 +0900 Subject: [PATCH] Add document links to errors A link would also be helpful in resolving the error. link is to: https://github.com/tj/commander.js#avoiding-option-name-clashes --- index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index e73254f7f..5dacc8d88 100644 --- a/index.js +++ b/index.js @@ -468,7 +468,9 @@ class Command extends EventEmitter { throw new Error(`option '${option.name()}' clashes with existing property '${option.attributeName()}' on Command - call storeOptionsAsProperties(false) to store option values safely, - or call storeOptionsAsProperties(true) to suppress this check, -- or change option name`); +- or change option name + +Read more on https://git.io/JJc0W`); } };