aboutsummaryrefslogtreecommitdiffstats
path: root/cmds-filesystem.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-filesystem.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-filesystem.c')
-rw-r--r--cmds-filesystem.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/cmds-filesystem.c b/cmds-filesystem.c
index b93bb33..e84f12b 100644
--- a/cmds-filesystem.c
+++ b/cmds-filesystem.c
@@ -1321,8 +1321,11 @@ static int cmd_label(int argc, char **argv)
}
}
+static const char filesystem_cmd_group_info[] =
+"overall filesystem tasks and information";
+
const struct cmd_group filesystem_cmd_group = {
- filesystem_cmd_group_usage, NULL, {
+ filesystem_cmd_group_usage, filesystem_cmd_group_info, {
{ "df", cmd_filesystem_df, cmd_filesystem_df_usage, NULL, 0 },
{ "show", cmd_show, cmd_show_usage, NULL, 0 },
{ "sync", cmd_sync, cmd_sync_usage, NULL, 0 },