mirror of
https://github.com/ceph/ceph
synced 2024-12-17 00:46:05 +00:00
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>
This commit is contained in:
parent
2c001b28fb
commit
173d592a4e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user