tools/ctdb: Fix documentation string for ban command
authorMartin Schwenke <martin@meltin.net>
Fri, 25 Oct 2013 05:25:25 +0000 (16:25 +1100)
committerAmitay Isaacs <amitay@gmail.com>
Tue, 29 Oct 2013 06:14:55 +0000 (17:14 +1100)
Ban time of 0 is not supported.

Signed-off-by: Martin Schwenke <martin@meltin.net>
tools/ctdb.c

index 49fb278b10ab62385757cf3efd9836f43777e0aa..c5d4a4ad6cc7fe81058e117f99d88496f7b307f2 100644 (file)
@@ -6039,7 +6039,7 @@ static const struct {
        { "enable",          control_enable,            true,   false,  "enable a nodes public IP" },
        { "stop",            control_stop,              true,   false,  "stop a node" },
        { "continue",        control_continue,          true,   false,  "re-start a stopped node" },
-       { "ban",             control_ban,               true,   false,  "ban a node from the cluster",          "<bantime|0>"},
+       { "ban",             control_ban,               true,   false,  "ban a node from the cluster",          "<bantime>"},
        { "unban",           control_unban,             true,   false,  "unban a node" },
        { "showban",         control_showban,           true,   false,  "show ban information"},
        { "shutdown",        control_shutdown,          true,   false,  "shutdown ctdbd" },