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