zengkui commented on issue #1794:
URL: 
https://github.com/apache/incubator-brpc/issues/1794#issuecomment-1153458782

   > 用这种方式也可以:
   > 
   > ```
   > namespace bvar {
   > DECLARE_bool(bvar_dump);
   > }
   > ```
   
   嗯,是的。以上两种方式都是可以的。
   ```cpp
   namespace bvar {
     DECLARE_bool(bvar_dump);
   }
   int main(int argc, char** argv) {
       bvar::FLAGS_bvar_dump = true;
       gflags::ParseCommandLineFlags(&argc, &argv, true);
   }
   ```
   


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