imbajin commented on code in PR #415:
URL: 
https://github.com/apache/incubator-hugegraph-doc/pull/415#discussion_r2570496601


##########
content/cn/docs/quickstart/client/hugegraph-client.md:
##########
@@ -224,8 +227,11 @@ public class BatchExample {
     public static void main(String[] args) {
         // If connect failed will throw a exception.
         HugeClient hugeClient = HugeClient.builder("http://localhost:8080";,
+                                                   "DEFAULT",
                                                    "hugegraph")
-                                          .build();
+                                                .configUser("username", 
"password")
+                                                // 这是示例,生产环境需要使用安全的凭证
+                                                .build();
 

Review Comment:
   ⚠️ **代码风格问题**:缩进不一致
   
   这里的缩进与上下文不一致,建议使用相同的缩进风格:
   
   \`\`\`suggestion
                                                   .configUser("username", 
"password")
                                                   // 这是示例,生产环境需要使用安全的凭证
                                                   .build();
   \`\`\`
   
   应保持一致的缩进,使用空格对齐。



##########
content/cn/docs/quickstart/toolchain/hugegraph-loader.md:
##########
@@ -790,20 +806,29 @@ schema: 必填
 | 参数                        | 默认值       | 是否必传 | 描述信息                          
                                    |
 
|---------------------------|-----------|------|-------------------------------------------------------------------|
 | `-f` 或 `--file`           |           | Y    | 配置脚本的路径                       
                                    |
-| `-g` 或 `--graph`          |           | Y    | 图数据库空间                        
                                    |
-| `-s` 或 `--schema`         |           | Y    | schema 文件路径                   
                                    |        |
-| `-h` 或 `--host`           | localhost |      | HugeGraphServer 的地址           
                                    |
+| `-g` 或 `--graph`          |           | Y    | 图名称                           
                                |

Review Comment:
   🧹 **格式问题**:乱码字符
   
   这行有乱码字符 "或 `--graph`",应该是 "或":
   
   \`\`\`suggestion
   | \`-g\` 或 \`--graph\`          |           | Y    | 图名称                     
                                      |
   \`\`\`



##########
content/cn/docs/quickstart/toolchain/hugegraph-loader.md:
##########
@@ -790,20 +806,29 @@ schema: 必填
 | 参数                        | 默认值       | 是否必传 | 描述信息                          
                                    |
 
|---------------------------|-----------|------|-------------------------------------------------------------------|
 | `-f` 或 `--file`           |           | Y    | 配置脚本的路径                       
                                    |
-| `-g` 或 `--graph`          |           | Y    | 图数据库空间                        
                                    |
-| `-s` 或 `--schema`         |           | Y    | schema 文件路径                   
                                    |        |
-| `-h` 或 `--host`           | localhost |      | HugeGraphServer 的地址           
                                    |
+| `-g` 或 `--graph`          |           | Y    | 图名称                           
                                |
+| `-gs` 或 `--graphspace`    | DEFAULT   |      | 图空间                           
                                 |
+| `-s` 或 `--schema`         |           | Y    | schema 文件路径                   
                                    |
+| `-h` 或 `--host` 或 `-i`   | localhost |      | HugeGraphServer 的地址            
                                   |
 | `-p` 或 `--port`           | 8080      |      | HugeGraphServer 的端口号          
                                    |
 | `--username`              | null      |      | 当 HugeGraphServer 
开启了权限认证时,当前图的 username                          |
+| `--password`              | null      |      | 当 HugeGraphServer 
开启了权限认证时,当前图的 password                          |
+| `--create-graph`          | false     |      | 是否在图不存在时自动创建                  
                            |
 | `--token`                 | null      |      | 当 HugeGraphServer 
开启了权限认证时,当前图的 token                             |
 | `--protocol`              | http      |      | 向服务端发请求的协议,可选 http 或 https    
                                    |
+| `--pd-peers`              |           |      | PD 服务节点地址                     
                                  |
+| `--pd-token`              |           |      | 访问 PD 服务的 token               
                                   |
+| `--meta-endpoints`        |           |      | 元信息存储服务地址                     
                                |
+| `--direct`                | false     |      | 是否直连 HugeGraph-Store          
                                    |

Review Comment:
   🧹 **格式问题**:乱码字符
   
   同样存在乱码字符问题,"集群名" 显示为 "集群名":
   
   \`\`\`suggestion
   | \`--cluster\`               | hg        |      | 集群名                       
                                        |
   \`\`\`



-- 
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]

Reply via email to