From 330f78f3334bcdcdb4cc2ab2dbf66604e0224d71 Mon Sep 17 00:00:00 2001
From: lichao <lichao@aiotlink.com>
Date: 星期五, 21 五月 2021 16:21:45 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/valib/bhshmq
---
box/box.cc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/box/box.cc b/box/box.cc
index 6f07fa7..7bea9a3 100644
--- a/box/box.cc
+++ b/box/box.cc
@@ -89,11 +89,11 @@
void Help()
{
PrintLn("%s : bhome shared memory message queue box application.", kOrigName.c_str());
- PrintLn("usage:");
+ PrintLn("%s", "usage:");
PrintLn("\t1) %s [function [options]...]", kOrigName.c_str());
PrintLn("\t2) rename or link %s to a function name then run it directly.", kOrigName.c_str());
PrintLn();
- PrintLn("supported functions:");
+ PrintLn("%s", "supported functions:");
std::map<std::string, std::string> funcs;
auto getInfo = [&](const std::string &name, const std::string &desc) {
funcs[name] = desc;
--
Gitblit v1.8.0