summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-07-06 13:07:18 -0600
committerLuke Shumaker <lukeshu@lukeshu.com>2023-07-06 13:07:18 -0600
commit2d8cbde42611562e256fba2c7617ca81c433cde7 (patch)
tree54cd081f75c26661c798f7444c9fa3407c8c152b
parent140966a9dde8fbd804dd2596da49920e24470d22 (diff)
cmd: inspect rebuildmappings, inspect rebuildtrees: Fix help text
-rw-r--r--cmd/btrfs-rec/inspect_rebuildmappings.go2
-rw-r--r--cmd/btrfs-rec/inspect_rebuildtrees.go4
2 files changed, 3 insertions, 3 deletions
diff --git a/cmd/btrfs-rec/inspect_rebuildmappings.go b/cmd/btrfs-rec/inspect_rebuildmappings.go
index 43c45b1..ae2e415 100644
--- a/cmd/btrfs-rec/inspect_rebuildmappings.go
+++ b/cmd/btrfs-rec/inspect_rebuildmappings.go
@@ -22,7 +22,7 @@ import (
func init() {
cmd := &cobra.Command{
Use: "rebuild-mappings",
- Short: "Rebuild broken chunk/dev-extent/blockgroup trees",
+ Short: "Rebuild broken chunk/dev/blockgroup trees",
Long: "" +
"The rebuilt information is printed as JSON on stdout, and can " +
"be loaded by the --mappings flag.\n" +
diff --git a/cmd/btrfs-rec/inspect_rebuildtrees.go b/cmd/btrfs-rec/inspect_rebuildtrees.go
index 1e808a0..2cb099a 100644
--- a/cmd/btrfs-rec/inspect_rebuildtrees.go
+++ b/cmd/btrfs-rec/inspect_rebuildtrees.go
@@ -26,8 +26,8 @@ func init() {
Long: "" +
"Rebuild broken btrees based on missing items that are implied " +
"by present items. This requires functioning " +
- "chunk/dev-extent/blockgroup trees, which can be rebuilt " +
- "separately with `btrfs-rec inspect rebuild-mappings`.\n" +
+ "chunk/dev/blockgroup trees, which can be rebuilt separately" +
+ "with `btrfs-rec inspect rebuild-mappings`.\n" +
"\n" +
"If no --node-list is given, then a slow sector-by-sector scan " +
"will be used to find all nodes.",