diff --git a/src/main/java/dev/jbang/cli/Edit.java b/src/main/java/dev/jbang/cli/Edit.java index ac5d0f982..9440d654a 100644 --- a/src/main/java/dev/jbang/cli/Edit.java +++ b/src/main/java/dev/jbang/cli/Edit.java @@ -51,10 +51,11 @@ public class Edit extends BaseCommand { "--open" }, arity = "0..1", defaultValue = "${JBANG_EDITOR:-${default.edit.open:-}}", fallbackValue = "${JBANG_EDITOR:-${default.edit.open:-}}", description = "Opens editor/IDE on the temporary project.", preprocessor = StrictParameterPreprocessor.class) public Optional editor; - @CommandLine.Option(names = { "--no-open" }) + @CommandLine.Option(names = { "--no-open" }, description = "Explicitly prevent JBang from opening an editor/IDE") public boolean noOpen; - @CommandLine.Option(names = { "-b", "--sandbox" }) + @CommandLine.Option(names = { "-b", + "--sandbox" }, description = "Edit in sandbox mode. Useful when the editor/IDE used has no JBang support") boolean sandbox; /**