summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYehuda Sadeh <yehuda@inktank.com>2012-07-11 11:52:24 -0700
committerSage Weil <sage@inktank.com>2012-07-11 17:11:15 -0700
commit173d592a4ec6559fb0da08e513fa4247a76f522f (patch)
treee2356ef96dc7a45ef8a0bbc729d2d03a31673c93
parent2c001b28fb2b105b7f83c0ecea8a25ede74af552 (diff)
downloadceph-173d592a4ec6559fb0da08e513fa4247a76f522f.tar.gz
rados tool: remove -t param option for target pool
Bug #2772. This fixes an issue that was introduced when we added the 'rados cp' command. The -t param was already used for rados bench. With this change the only way to specify a target pool is using --target-pool. Though this problem is post argonaut, the 'rados cp' command has been backported, so we need this fix there too. Backport: argonaut Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
-rw-r--r--src/rados.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rados.cc b/src/rados.cc
index 42c0d1d568f..1b1fec09312 100644
--- a/src/rados.cc
+++ b/src/rados.cc
@@ -109,7 +109,6 @@ STR(DEFAULT_NUM_RADOS_WORKER_THREADS) ")\n"
" -p pool\n"
" --pool=pool\n"
" select given pool by name\n"
-" -t pool\n"
" --target-pool=pool\n"
" select target pool by name\n"
" -b op_size\n"
@@ -1746,7 +1745,7 @@ int main(int argc, const char **argv)
opts["show-time"] = "true";
} else if (ceph_argparse_witharg(args, i, &val, "-p", "--pool", (char*)NULL)) {
opts["pool"] = val;
- } else if (ceph_argparse_witharg(args, i, &val, "-t", "--target-pool", (char*)NULL)) {
+ } else if (ceph_argparse_witharg(args, i, &val, "--target-pool", (char*)NULL)) {
opts["target_pool"] = val;
} else if (ceph_argparse_witharg(args, i, &val, "--object-locator" , (char *)NULL)) {
opts["object_locator"] = val;