summaryrefslogtreecommitdiff
path: root/src/tools/rbd/action/Nbd.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/rbd/action/Nbd.cc')
-rw-r--r--src/tools/rbd/action/Nbd.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/tools/rbd/action/Nbd.cc b/src/tools/rbd/action/Nbd.cc
index f36537430c8..68345f43dd6 100644
--- a/src/tools/rbd/action/Nbd.cc
+++ b/src/tools/rbd/action/Nbd.cc
@@ -415,8 +415,6 @@ int execute_unmap_deprecated(const po::variables_map &vm,
return execute_unmap(vm, ceph_global_args);
}
-Shell::SwitchArguments switched_arguments({"read-only", "exclusive"});
-
Shell::Action action_show_deprecated(
{"nbd", "list"}, {"nbd", "ls"}, "List the nbd devices already used.", "",
&get_list_arguments_deprecated, &execute_list_deprecated, false);