From: Kotresh HR Date: Thu, 25 Jul 2024 09:39:15 +0000 (+0530) Subject: ceph-fuse: Improve fuse mount usage message X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=add5ec7cb9d318e10b517c04e4a73f939b84edc8;p=ceph.git ceph-fuse: Improve fuse mount usage message Show '--client_fs ' option in 'ceph-fuse' usage which is required to mount a specific fs in multifs cluster. https://tracker.ceph.com/issues/67283 Signed-off-by: Kotresh HR (cherry picked from commit 7cd60242a968aba0f60c2f57a8e3480b5c5c44fa) --- diff --git a/src/ceph_fuse.cc b/src/ceph_fuse.cc index 3fa5346b463..68fe30760a7 100644 --- a/src/ceph_fuse.cc +++ b/src/ceph_fuse.cc @@ -81,9 +81,10 @@ static void fuse_usage() void usage() { cout << -"usage: ceph-fuse [-n client.username] [-m mon-ip-addr:mon-port] [OPTIONS]\n" -" --client_mountpoint/-r \n" -" use sub_directory as the mounted root, rather than the full Ceph tree.\n" +"\nusage: ceph-fuse [-n client.username] [-m mon-ip-addr:mon-port] [--client_fs ] [--client_mountpoint/-r ] [OPTIONS]\n\n" + +" --client_mountpoint/-r: use sub_directory as the mounted root, rather than the full CephFS tree.\n" +" --client_fs: named file system to mount (default: usually the first file system created).\n" "\n"; fuse_usage(); generic_client_usage();