From 2d8cbde42611562e256fba2c7617ca81c433cde7 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 6 Jul 2023 13:07:18 -0600 Subject: cmd: inspect rebuildmappings, inspect rebuildtrees: Fix help text --- cmd/btrfs-rec/inspect_rebuildmappings.go | 2 +- cmd/btrfs-rec/inspect_rebuildtrees.go | 4 ++-- 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.", -- cgit v1.1-4-g5e80