Skip to content

Commit 8aaa3a0

Browse files
Removes D2 from the help command.
1 parent 3c7df63 commit 8aaa3a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/structurizr/cli/export/ExportCommand.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public class ExportCommand extends AbstractCommand {
4444
private static final String MERMAID_FORMAT = "mermaid";
4545
private static final String DOT_FORMAT = "dot";
4646
private static final String ILOGRAPH_FORMAT = "ilograph";
47-
private static final String D2_FORMAT = "d2";
47+
// private static final String D2_FORMAT = "d2";
4848
private static final String STATIC_FORMAT = "static";
4949
private static final String CUSTOM_FORMAT = "fqcn";
5050

@@ -84,7 +84,7 @@ public void run(String... args) throws Exception {
8484
option.setRequired(true);
8585
options.addOption(option);
8686

87-
option = new Option("f", "format", true, String.format("Export format: %s[/%s|%s]|%s|%s|%s|%s|%s|%s|%s|%s|%s", PLANTUML_FORMAT, PLANTUML_STRUCTURIZR_SUBFORMAT, PLANTUML_C4PLANTUML_SUBFORMAT, WEBSEQUENCEDIAGRAMS_FORMAT, MERMAID_FORMAT, DOT_FORMAT, ILOGRAPH_FORMAT, D2_FORMAT, JSON_FORMAT, THEME_FORMAT, STATIC_FORMAT, CUSTOM_FORMAT));
87+
option = new Option("f", "format", true, String.format("Export format: %s[/%s|%s]|%s|%s|%s|%s|%s|%s|%s|%s", PLANTUML_FORMAT, PLANTUML_STRUCTURIZR_SUBFORMAT, PLANTUML_C4PLANTUML_SUBFORMAT, WEBSEQUENCEDIAGRAMS_FORMAT, MERMAID_FORMAT, DOT_FORMAT, ILOGRAPH_FORMAT, JSON_FORMAT, THEME_FORMAT, STATIC_FORMAT, CUSTOM_FORMAT));
8888
option.setRequired(true);
8989
options.addOption(option);
9090

0 commit comments

Comments
 (0)