]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rbd: additional common Ceph command-line arguments
authorJason Dillaman <dillaman@redhat.com>
Mon, 5 Oct 2015 18:57:01 +0000 (14:57 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 5 Nov 2015 21:49:31 +0000 (16:49 -0500)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/tools/rbd/Shell.cc

index ce5a052a867a964e65753906e4a8fdc4cb1d37eb..ec2e8d25ad61f4984962708d80bbb437da19cb76 100644 (file)
@@ -218,9 +218,10 @@ void Shell::get_global_options(po::options_description *opts) {
     ("cluster", po::value<std::string>(), "cluster name")
     ("id,i", po::value<std::string>(), "client id (without 'client.' prefix)")
     ("name,n", po::value<std::string>(), "client name")
+    ("mon_host,m", po::value<std::string>(), "monitor host")
     ("secret", po::value<Secret>(), "path to secret key (deprecated)")
-    ("keyfile", po::value<std::string>(), "path to secret key")
-    ("keyring", po::value<std::string>(), "path to keyring");
+    ("keyfile,K", po::value<std::string>(), "path to secret key")
+    ("keyring,k", po::value<std::string>(), "path to keyring");
 }
 
 void Shell::prune_command_line_arguments(int arg_count, const char **arg_values,