summaryrefslogtreecommitdiffstats
path: root/cmd_handler.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-08-12 12:01:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-08-12 12:01:09 +0000
commitfb32fdeba1f428a3f6c30c8951e82f2a2eec23a8 (patch)
tree36d82f6126d57ee3049109591b3ea9e805bca867 /cmd_handler.h
parentReleasing debian version 1.14-4. (diff)
downloadnvme-cli-fb32fdeba1f428a3f6c30c8951e82f2a2eec23a8.tar.xz
nvme-cli-fb32fdeba1f428a3f6c30c8951e82f2a2eec23a8.zip
Merging upstream version 1.15.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'cmd_handler.h')
-rw-r--r--cmd_handler.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd_handler.h b/cmd_handler.h
index d40740d..73b5962 100644
--- a/cmd_handler.h
+++ b/cmd_handler.h
@@ -5,7 +5,7 @@
*/
#undef NAME
-#define NAME(n, d)
+#define NAME(n, d, v)
#undef ENTRY
#define ENTRY(n, h, f, ...) \
@@ -26,7 +26,7 @@ static int f(int argc, char **argv, struct command *command, struct plugin *plug
*/
#undef NAME
-#define NAME(n, d)
+#define NAME(n, d, v)
#undef ENTRY_W_ALIAS
#define ENTRY_W_ALIAS(n, h, f, a) \
@@ -63,7 +63,7 @@ static struct command f ## _cmd = { \
*/
#undef NAME
-#define NAME(n, d)
+#define NAME(n, d, v)
#undef ENTRY
#define ENTRY(n, h, f, ...) &f ## _cmd,
@@ -87,7 +87,7 @@ static struct command *commands[] = { \
*/
#undef NAME
-#define NAME(n, d) .name = n, .desc = d,
+#define NAME(n, d, v) .name = n, .desc = d, .version = v,
#undef COMMAND_LIST
#define COMMAND_LIST(args...)