diff options
author | David Sterba <dsterba@suse.com> | 2018-08-03 16:43:08 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 15:06:24 +0200 |
commit | 4dca0ccf3d4a92f40f3a47647e1b18673be600cf (patch) | |
tree | e9d1fc8d9fcb70630abcd3b90eb56a6df91ddf30 | |
parent | 21d110916824558b750af639687d716caf33efbb (diff) |
btrfs-progs: check: reorder options to sections
Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r-- | check/main.c | 50 |
1 files changed, 28 insertions, 22 deletions
diff --git a/check/main.c b/check/main.c index 048cd3b6..bc2ee22f 100644 --- a/check/main.c +++ b/check/main.c @@ -9450,29 +9450,35 @@ const char * const cmd_check_usage[] = { "Check structural integrity 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", + "WARNING: the repair mode is considered dangerous and should not be used", + " without prior analysis of problems found on the flesystem." "", - "-s|--super <superblock> use this superblock copy", - "-b|--backup use the first valid backup root copy", - "--force skip mount checks, repair is not possible", - "--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", - "--mode <MODE> allows choice of memory/IO trade-offs", - " where MODE is one of:", - " original - read inodes and extents to memory (requires", - " more memory, does less IO)", - " lowmem - try to use less memory but read blocks again", - " when needed (experimental)", - "--check-data-csum verify checksums of data blocks", - "-Q|--qgroup-report print a report on qgroup consistency", - "-E|--subvol-extents <subvolid>", - " print subvolume extents and sharing state", - "-r|--tree-root <bytenr> use the given bytenr for the tree root", - "--chunk-root <bytenr> use the given bytenr for the chunk tree root", - "-p|--progress indicate progress", - "--clear-space-cache v1|v2 clear space cache for v1 or v2", + "Options:", + " starting point selection:", + " -s|--super <superblock> use this superblock copy", + " -b|--backup use the first valid backup root copy", + " -r|--tree-root <bytenr> use the given bytenr for the tree root", + " --chunk-root <bytenr> use the given bytenr for the chunk tree root", + " operation modes:", + " --readonly run in read-only mode (default)", + " --repair try to repair the filesystem", + " --force skip mount checks, repair is not possible", + " --mode <MODE> allows choice of memory/IO trade-offs", + " where MODE is one of:", + " original - read inodes and extents to memory (requires", + " more memory, does less IO)", + " lowmem - try to use less memory but read blocks again", + " when needed (experimental)", + " repair options:", + " --init-csum-tree create a new CRC tree", + " --init-extent-tree create a new extent tree", + " --clear-space-cache v1|v2 clear space cache for v1 or v2", + " check and reporting options:", + " --check-data-csum verify checksums of data blocks", + " -Q|--qgroup-report print a report on qgroup consistency", + " -E|--subvol-extents <subvolid>", + " print subvolume extents and sharing state", + " -p|--progress indicate progress", NULL }; |