diff --git a/packages/ctl/ctl.js b/packages/ctl/ctl.js index 7f0230a1..d0ab66c9 100755 --- a/packages/ctl/ctl.js +++ b/packages/ctl/ctl.js @@ -129,7 +129,8 @@ masterConfigCommands.add(new libCommand.Command({ // needed for the process.env statements to not be flagged by eslint // prio for editors is CLI arg > env.EDITOR > env.VISUAL } else { - throw new libErrors.CommandError("No editor avalible. Checked CLI input, EDITOR and VISUAL env vars"); + throw new libErrors.CommandError(`No editor avalible. Checked CLI input, EDITOR and VISUAL env vars\ + Try "ctl master config edit "`); } let allConfigElements = ""; @@ -423,7 +424,8 @@ instanceConfigCommands.add(new libCommand.Command({ // needed for the process.env statements to not be flagged by eslint // prio for editors is CLI arg > env.EDITOR > env.VISUAL } else { - throw new libErrors.CommandError("No editor avalible. Checked CLI input, EDITOR and VISUAL env vars"); + throw new libErrors.CommandError(`No editor avalible. Checked CLI input, EDITOR and VISUAL env vars\ + Try "ctl instance config edit "`); } let allConfigElements = "";