diff options
author | David Sterba <dsterba@suse.cz> | 2015-06-09 14:22:05 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2015-06-09 14:26:33 +0200 |
commit | 330709ee136f146551718c1c2f351445cba95bfa (patch) | |
tree | 3ecaf3f93e5b275e5e030525d70d03f2ea8e02ad /cmds-device.c | |
parent | 54003d7ee6c71011ec41a5e4e557ec6c83a831de (diff) | |
download | btrfs-progs-330709ee136f146551718c1c2f351445cba95bfa.tar.gz |
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.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cmds-device.c b/cmds-device.c index 1022656..4fa6b4a 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 }, |