summaryrefslogtreecommitdiff
path: root/cmds-device.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2015-06-09 14:22:05 +0200
committerDavid Sterba <dsterba@suse.cz>2015-06-09 14:26:33 +0200
commit330709ee136f146551718c1c2f351445cba95bfa (patch)
tree3ecaf3f93e5b275e5e030525d70d03f2ea8e02ad /cmds-device.c
parent54003d7ee6c71011ec41a5e4e557ec6c83a831de (diff)
btrfs-progs: add command group info strings
They're printed in the 'btrfs' command group summary. Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'cmds-device.c')
-rw-r--r--cmds-device.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/cmds-device.c b/cmds-device.c
index 10226569..4fa6b4aa 100644
--- a/cmds-device.c
+++ b/cmds-device.c
@@ -583,8 +583,11 @@ out:
return !!ret;
}
+static const char device_cmd_group_info[] =
+"manage and query devices in the filesystem";
+
const struct cmd_group device_cmd_group = {
- device_cmd_group_usage, NULL, {
+ device_cmd_group_usage, device_cmd_group_info, {
{ "add", cmd_add_dev, cmd_add_dev_usage, NULL, 0 },
{ "delete", cmd_rm_dev, cmd_rm_dev_usage, NULL, 0 },
{ "scan", cmd_scan_dev, cmd_scan_dev_usage, NULL, 0 },