From 1f7e11aaf0a68d2b5aa9222d579a440d4cadb079 Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Thu, 15 Jul 2010 14:50:33 -0700 Subject: [PATCH] rbd: fix usage --- src/rbd.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rbd.cc b/src/rbd.cc index 6c1c3031a8782..71927f23241c5 100644 --- a/src/rbd.cc +++ b/src/rbd.cc @@ -43,7 +43,7 @@ static string dir_info_oid = RBD_INFO; void usage() { - cout << "usage: rbdtool [-n ] [OPTIONS] ...\n" + cout << "usage: rbd [-n ] [OPTIONS] ...\n" << "where 'pool' is a rados pool name (default is 'rbd') and 'cmd' is one of:\n" << " [pool-name] list rbd images\n" << " info [image-name] show information about image size,\n" @@ -920,7 +920,7 @@ int main(int argc, const char **argv) int opt_cmd = OPT_NO_CMD; common_set_defaults(false); - common_init(args, "rbdtool", true); + common_init(args, "rbd", true); const char *poolname = NULL; uint64_t size = 0; -- 2.39.5