From b1df2c379b8e468c8ba0458511a76c0462e3a424 Mon Sep 17 00:00:00 2001 From: Stephen F Taylor Date: Mon, 28 Apr 2014 15:31:07 -0600 Subject: [PATCH] Changed the -i parameter to -r in order to avoid a conflict with a generic flag interpreted by the common code. --- src/rbd_fuse/rbd-fuse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rbd_fuse/rbd-fuse.c b/src/rbd_fuse/rbd-fuse.c index 160cf215ecd5..085a38500cda 100644 --- a/src/rbd_fuse/rbd-fuse.c +++ b/src/rbd_fuse/rbd-fuse.c @@ -670,7 +670,7 @@ static struct fuse_opt rbdfs_opts[] = { {"-p %s", offsetof(struct rbd_options, pool_name), KEY_RADOS_POOLNAME}, {"--poolname=%s", offsetof(struct rbd_options, pool_name), KEY_RADOS_POOLNAME_LONG}, - {"-i %s", offsetof(struct rbd_options, image_name), KEY_RBD_IMAGENAME}, + {"-r %s", offsetof(struct rbd_options, image_name), KEY_RBD_IMAGENAME}, {"--image=%s", offsetof(struct rbd_options, image_name), KEY_RBD_IMAGENAME_LONG}, }; @@ -685,7 +685,7 @@ static void usage(const char *progname) " -V --version print version\n" " -c --configfile ceph configuration file [/etc/ceph/ceph.conf]\n" " -p --poolname rados pool name [rbd]\n" -" -i --image RBD image name\n" +" -r --image RBD image name\n" "\n", progname); } -- 2.47.3