Print the updated help message

This commit is contained in:
Chaoguang Lin 2021-07-16 18:14:30 +00:00
parent cfb9b56067
commit 07ebc2013c

View File

@ -38,7 +38,7 @@ namespace fdb_cli {
ACTOR Future<bool> profileCommandActor(Reference<ITransaction> tr, std::vector<StringRef> tokens, bool intrans) {
state bool result = true;
if (tokens.size() == 1) {
fprintf(stderr, "ERROR: Usage: profile <client|list|flow|heap>\n");
printUsage(tokens[0]);
result = false;
} else if (tokencmp(tokens[1], "client")) {
if (tokens.size() == 2) {