From f5d8300e64800bab27453d44ce70e3d8c6b09bfb Mon Sep 17 00:00:00 2001 From: Tako Schotanus Date: Thu, 25 Jan 2024 21:36:57 +0100 Subject: [PATCH] chore: added descriptions to some edit command flags (#1727) --- src/main/java/dev/jbang/cli/Edit.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; /**