From 07ebc2013c17d7851da3fbcdaf679d64ad36390b Mon Sep 17 00:00:00 2001 From: Chaoguang Lin Date: Fri, 16 Jul 2021 18:14:30 +0000 Subject: [PATCH] Print the updated help message --- fdbcli/ProfileCommand.actor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdbcli/ProfileCommand.actor.cpp b/fdbcli/ProfileCommand.actor.cpp index 2ab56488f7..b58c87c4dd 100644 --- a/fdbcli/ProfileCommand.actor.cpp +++ b/fdbcli/ProfileCommand.actor.cpp @@ -38,7 +38,7 @@ namespace fdb_cli { ACTOR Future profileCommandActor(Reference tr, std::vector tokens, bool intrans) { state bool result = true; if (tokens.size() == 1) { - fprintf(stderr, "ERROR: Usage: profile \n"); + printUsage(tokens[0]); result = false; } else if (tokencmp(tokens[1], "client")) { if (tokens.size() == 2) {