aboutsummaryrefslogtreecommitdiffstats
path: root/cmds-subvolume.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-subvolume.c
parent54003d7ee6c71011ec41a5e4e557ec6c83a831de (diff)
downloadbtrfs-progs-330709ee136f146551718c1c2f351445cba95bfa.tar.gz
btrfs-progs-330709ee136f146551718c1c2f351445cba95bfa.tar.xz
btrfs-progs-330709ee136f146551718c1c2f351445cba95bfa.zip
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-subvolume.c')
-rw-r--r--cmds-subvolume.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/cmds-subvolume.c b/cmds-subvolume.c
index c4c61ea..c69cb3c 100644
--- a/cmds-subvolume.c
+++ b/cmds-subvolume.c
@@ -1254,8 +1254,11 @@ out:
return !!ret;
}
+static const char subvolume_cmd_group_info[] =
+"manage subvolumes: create, delete, list, etc";
+
const struct cmd_group subvolume_cmd_group = {
- subvolume_cmd_group_usage, NULL, {
+ subvolume_cmd_group_usage, subvolume_cmd_group_info, {
{ "create", cmd_subvol_create, cmd_subvol_create_usage, NULL, 0 },
{ "delete", cmd_subvol_delete, cmd_subvol_delete_usage, NULL, 0 },
{ "list", cmd_subvol_list, cmd_subvol_list_usage, NULL, 0 },