summaryrefslogtreecommitdiff
path: root/src/tools/rbd/action/Device.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/rbd/action/Device.cc')
-rw-r--r--src/tools/rbd/action/Device.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tools/rbd/action/Device.cc b/src/tools/rbd/action/Device.cc
index 20cff569f9b..bfe60c273df 100644
--- a/src/tools/rbd/action/Device.cc
+++ b/src/tools/rbd/action/Device.cc
@@ -247,7 +247,9 @@ int execute_detach(const po::variables_map &vm,
return (*get_device_operations(vm)->execute_detach)(vm, ceph_global_init_args);
}
-Shell::SwitchArguments switched_arguments({"read-only", "exclusive"});
+Shell::SwitchArguments switched_arguments({"exclusive", "force", "quiesce",
+ "read-only", "show-cookie"});
+
Shell::Action action_list(
{"device", "list"}, {"showmapped"}, "List mapped rbd images.", "",
&get_list_arguments, &execute_list);