diff options
author | Sage Weil <sage@inktank.com> | 2012-06-09 02:21:03 +0200 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2012-08-18 01:51:15 +0200 |
commit | 7b57931ba599b7c9537de1f7c274de37c3f7a731 (patch) | |
tree | 5cef4e00e013b97d8f64c55ebe8c328efb997de9 /src/common/ceph_argparse.cc | |
parent | keyring: make from_ceph_context() a member (diff) | |
download | ceph-7b57931ba599b7c9537de1f7c274de37c3f7a731.tar.xz ceph-7b57931ba599b7c9537de1f7c274de37c3f7a731.zip |
config: make --user a synonym for --id
This grandfathers in rbd usage.
Signed-off-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'src/common/ceph_argparse.cc')
-rw-r--r-- | src/common/ceph_argparse.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/ceph_argparse.cc b/src/common/ceph_argparse.cc index 4444040415d..e6c8f7807c1 100644 --- a/src/common/ceph_argparse.cc +++ b/src/common/ceph_argparse.cc @@ -392,7 +392,7 @@ CephInitParameters ceph_argparse_early_args (ceph_argparse_witharg(args, i, &val, "-i", (char*)NULL))) { iparams.name.set_id(val); } - else if (ceph_argparse_witharg(args, i, &val, "--id", (char*)NULL)) { + else if (ceph_argparse_witharg(args, i, &val, "--id", "--user", (char*)NULL)) { iparams.name.set_id(val); } else if (ceph_argparse_witharg(args, i, &val, "--name", "-n", (char*)NULL)) { |