Add new log level USER

This commit is contained in:
Chunting Gu
2019-07-05 10:57:03 +08:00
parent ec753c14c3
commit 3309e7896a
6 changed files with 47 additions and 61 deletions
+2 -2
View File
@@ -189,8 +189,8 @@ void PrintBookList(const std::list<Book>& books) {
void Help(const char* argv0) {
std::cout << "Usage: " << argv0 << " <url> [timeout]" << std::endl;
std::cout << " E.g.," << std::endl;
std::cout << " " << argv0 << "http://localhost:8080" << std::endl;
std::cout << " " << argv0 << "http://localhost:8080 2" << std::endl;
std::cout << " " << argv0 << " http://localhost:8080" << std::endl;
std::cout << " " << argv0 << " http://localhost:8080 2" << std::endl;
}
int main(int argc, char* argv[]) {