From: Keith Busch Date: Wed, 13 Dec 2017 15:29:38 +0000 (-0700) Subject: Reorder command list X-Git-Tag: v1.5~8 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=740049cb8361f9065a903041562cd4783487cb33;p=users%2Fsagi%2Fnvme-cli.git Reorder command list Puts list commands at the top. Signed-off-by: Keith Busch --- diff --git a/nvme-builtin.h b/nvme-builtin.h index b0eb5339..b06eb34b 100644 --- a/nvme-builtin.h +++ b/nvme-builtin.h @@ -8,6 +8,7 @@ COMMAND_LIST( ENTRY("list", "List all NVMe devices and namespaces on machine", list) + ENTRY("list-subsys", "List nvme subsystems", list_subsys) ENTRY("id-ctrl", "Send NVMe Identify Controller", id_ctrl) ENTRY("id-ns", "Send NVMe Identify Namespace, display structure", id_ns) ENTRY("list-ns", "Send NVMe Identify List, display structure", list_ns) @@ -57,7 +58,6 @@ COMMAND_LIST( ENTRY("gen-hostnqn", "Generate NVMeoF host NQN", gen_hostnqn_cmd) ENTRY("dir-receive", "Submit a Directive Receive command, return results", dir_receive) ENTRY("dir-send", "Submit a Directive Send command, return results", dir_send) - ENTRY("list-subsys", "List nvme subsystems", list_subsys) ); #endif