summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2018-02-09 19:17:18 +0100
committerLeah Neukirchen <leah@vuxu.org>2018-02-09 19:17:26 +0100
commit0feb77e79e6ab3366f73f3a66385d226d97393ca (patch)
tree27a003156e7299b1cb07721f3cbf2de1d4cd8ff4
parent487282f7a19c0f676dd6bf1f91c55d5c863e53eb (diff)
device add: support --help
-rw-r--r--cmd_device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd_device.c b/cmd_device.c
index 5628fae..143f21d 100644
--- a/cmd_device.c
+++ b/cmd_device.c
@@ -43,6 +43,7 @@ int cmd_device_add(int argc, char *argv[])
{ "discard", no_argument, NULL, 'D' },
{ "tier", required_argument, NULL, 't' },
{ "force", no_argument, NULL, 'f' },
+ { "help", no_argument, NULL, 'h' },
{ NULL }
};
struct format_opts format_opts = format_opts_default();