serverglen commented on a change in pull request #1499:
URL: https://github.com/apache/incubator-brpc/pull/1499#discussion_r698108382
##########
File path: docs/cn/bvar_c++.md
##########
@@ -148,7 +148,7 @@ int expose_as(const butil::StringPiece& prefix, const
butil::StringPiece& name);
```
全局曝光后的bvar名字便为name或prefix +
name,可通过以_exposed为后缀的static函数查询。比如Variable::describe_exposed(name)会返回名为name的bvar的描述。
-当相同名字的bvar已存在时,expose会打印FATAL日志并返回-1。如果选项**--bvar_abort_on_same_name**设为true
(默认是false),程序会直接abort。
+当相同名字的bvar已存在时,expose会打印FATAL日志并返回-1。如果选项 **-bvar_abort_on_same_name**设为true
(默认是false),程序会直接abort。
Review comment:
设为前面不用加。
--
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]