diff --git a/packages/ctl/ctl.js b/packages/ctl/ctl.js index be246007..7f0230a1 100755 --- a/packages/ctl/ctl.js +++ b/packages/ctl/ctl.js @@ -108,9 +108,11 @@ masterConfigCommands.add(new libCommand.Command({ })); masterConfigCommands.add(new libCommand.Command({ definition: ["edit [editor]", "Edit master configuration", (yargs) => { - yargs.positional("editor", { describe: "Editor to use", + yargs.positional("editor", { + describe: "Editor to use", type: "string", - default: "" }); + default: "" + }); }], handler: async function(args, control) { let response = await libLink.messages.getMasterConfig.send(control); @@ -399,9 +401,11 @@ instanceConfigCommands.add(new libCommand.Command({ instanceConfigCommands.add(new libCommand.Command({ definition: ["edit [editor]", "Edit instance configuration", (yargs) => { yargs.positional("instance", { describe: "Instance to set config on", type: "string" }); - yargs.positional("editor", { describe: "Editor to use", + yargs.positional("editor", { + describe: "Editor to use", type: "string", - default: "" }); + default: "" + }); }], handler: async function(args, control) { let instanceId = await libCommand.resolveInstance(control, args.instance);