ctdb-event: Fix "ctdb event status" usage message
authorMartin Schwenke <martin@meltin.net>
Thu, 12 Jul 2018 00:44:20 +0000 (10:44 +1000)
committerAmitay Isaacs <amitay@samba.org>
Sat, 28 Jul 2018 15:14:11 +0000 (17:14 +0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13551

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/event/event_tool.c

index 9f755852742921d108e26224dc8d18d991b0b5c5..7760c9713403fce25ad2c506016b28c444c4f231 100644 (file)
@@ -244,7 +244,7 @@ static int event_command_status(TALLOC_CTX *mem_ctx,
        bool ok;
 
        if (argc != 2) {
-               cmdline_usage(ctx->cmdline, "run");
+               cmdline_usage(ctx->cmdline, "status");
                return 1;
        }