sadwitdastreetz commented on code in PR #666:
URL:
https://github.com/apache/incubator-hugegraph-toolchain/pull/666#discussion_r2123719883
##########
hugegraph-loader/src/main/java/org/apache/hugegraph/loader/executor/LoadOptions.java:
##########
@@ -53,15 +54,17 @@ public class LoadOptions implements Serializable {
description = "The schema file path which to create manually")
public String schema;
- @Parameter(names = {"-g", "--graph"}, required = true, arity = 1,
- description = "The namespace of the graph to load into")
- public String graph;
+ @Parameter(names = {"-g", "--graph"},
+ arity = 1,
+ description = "The namespace of the graph to load into
(default: DEFAULT)")
+ public String graph = "DEFAULT";
Review Comment:
THX
##########
hugegraph-loader/src/main/java/org/apache/hugegraph/loader/executor/LoadOptions.java:
##########
@@ -53,15 +54,17 @@ public class LoadOptions implements Serializable {
description = "The schema file path which to create manually")
public String schema;
- @Parameter(names = {"-g", "--graph"}, required = true, arity = 1,
- description = "The namespace of the graph to load into")
- public String graph;
+ @Parameter(names = {"-g", "--graph"},
+ arity = 1,
+ description = "The namespace of the graph to load into
(default: DEFAULT)")
+ public String graph = "DEFAULT";
Review Comment:
THX
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]