sadwitdastreetz commented on code in PR #666: URL: https://github.com/apache/incubator-hugegraph-toolchain/pull/666#discussion_r2126227897
########## 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"; - @Parameter(names = {"-h", "--host"}, arity = 1, + @Parameter(names = {"-h", "-i", "--host"}, arity = 1, validateWith = {UrlValidator.class}, description = "The host/IP of HugeGraphServer") public String host = "localhost"; + Review Comment: sorry, it might be my mistake ########## 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"; - @Parameter(names = {"-h", "--host"}, arity = 1, + @Parameter(names = {"-h", "-i", "--host"}, arity = 1, validateWith = {UrlValidator.class}, description = "The host/IP of HugeGraphServer") public String host = "localhost"; + Review Comment: > extra line? sorry, it might be my mistake -- 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: issues-unsubscr...@hugegraph.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@hugegraph.apache.org For additional commands, e-mail: issues-h...@hugegraph.apache.org