ctdb-doc: Fix usage string for ctdb readkey/writekey
authorAmitay Isaacs <amitay@gmail.com>
Fri, 31 Jan 2014 01:46:21 +0000 (12:46 +1100)
committerMartin Schwenke <martins@samba.org>
Fri, 31 Jan 2014 06:52:46 +0000 (07:52 +0100)
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Fri Jan 31 07:52:46 CET 2014 on sn-devel-104

ctdb/tools/ctdb.c

index 7b046c40f4ea444245e7e6ef4a48c809a6caccb5..d44c3476afe0782887c95802c1c8a0fa317826e4 100644 (file)
@@ -6292,8 +6292,8 @@ static const struct {
        { "ptrans",          control_ptrans,            false,  false,  "update a persistent database (from stdin)", "<dbname|dbid>" },
        { "tfetch",          control_tfetch,            false,  true,  "fetch a record from a [c]tdb-file [-v]", "<tdb-file> <key> [<file>]" },
        { "tstore",          control_tstore,            false,  true,  "store a record (including ltdb header)", "<tdb-file> <key> <data> [<rsn> <dmaster> <flags>]" },
-       { "readkey",         control_readkey,           true,   false,  "read the content off a database key", "<tdb-file> <key>" },
-       { "writekey",        control_writekey,          true,   false,  "write to a database key", "<tdb-file> <key> <value>" },
+       { "readkey",         control_readkey,           true,   false,  "read the content off a database key", "<dbname|dbid> <key>" },
+       { "writekey",        control_writekey,          true,   false,  "write to a database key", "<dbname|dbid> <key> <value>" },
        { "checktcpport",    control_chktcpport,        false,  true,  "check if a service is bound to a specific tcp port or not", "<port>" },
        { "rebalancenode",     control_rebalancenode,   false,  false, "mark nodes as forced IP rebalancing targets", "[<pnn-list>]"},
        { "getdbseqnum",     control_getdbseqnum,       false,  false, "get the sequence number off a database", "<dbname|dbid>" },