]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
Reorder command list
authorKeith Busch <keith.busch@intel.com>
Wed, 13 Dec 2017 15:29:38 +0000 (08:29 -0700)
committerKeith Busch <keith.busch@intel.com>
Wed, 13 Dec 2017 15:29:38 +0000 (08:29 -0700)
Puts list commands at the top.

Signed-off-by: Keith Busch <keith.busch@intel.com>
nvme-builtin.h

index b0eb5339857da409b75018a1ef6bab669e460c59..b06eb34b4a20c887b0c136e0d5202a85b5470962 100644 (file)
@@ -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