From 9fe7900ef385520aba01e53f9815bb19f8d9bb51 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Tue, 6 Oct 2015 16:50:08 +0200 Subject: btrfs-progs: check: update help text Add some missing options and add a high-level description. Signed-off-by: David Sterba --- cmds-check.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'cmds-check.c') diff --git a/cmds-check.c b/cmds-check.c index fe51aae7..1f8caad4 100644 --- a/cmds-check.c +++ b/cmds-check.c @@ -9368,17 +9368,23 @@ out: const char * const cmd_check_usage[] = { "btrfs check [options] ", - "Check an unmounted btrfs filesystem.", + "Check structural inegrity of a filesystem (unmounted).", + "Check structural inegrity of an unmounted filesystem. Verify internal", + "trees' consistency and item connectivity. In the repair mode try to", + "fix the problems found.", + "WARNING: the repair mode is considered dangerous", "", "-s|--super use this superblock copy", "-b|--backup use the backup root copy", "--repair try to repair the filesystem", + "--readonly run in read-only mode (default)", "--init-csum-tree create a new CRC tree", "--init-extent-tree create a new extent tree", "--check-data-csum verify checkums of data blocks", - "--qgroup-report print a report on qgroup consistency", - "--subvol-extents print subvolume extents and sharing state", - "--tree-root use the given bytenr for the tree root", + "-Q|--qgroup-report print a report on qgroup consistency", + "-E|--subvol-extents ", + " print subvolume extents and sharing state", + "-r|--tree-root use the given bytenr for the tree root", "-p|--progress indicate progress", NULL }; -- cgit v1.2.3