btrfs inspect-internal --help show some incomplete sentenses. As shown
below,

  btrfs inspect-internal --help
  <snip>
      btrfs inspect-internal min-dev-size [options] <path>
          Get the minimum size the device can be shrunk to. The
      btrfs inspect-internal dump-tree [options] <device> [<device> ..]
  <snip>

This patch just fixes it.

Signed-off-by: Anand Jain <anand.j...@oracle.com>
---
v2: Drop the idea to fix the period at the end of the single line help
    statements. Because the fix wasn't sufficient, there are more, and
    it can be done separately.

 cmds/inspect.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmds/inspect.c b/cmds/inspect.c
index 15f19c8a3027..4e3e6382637a 100644
--- a/cmds/inspect.c
+++ b/cmds/inspect.c
@@ -389,9 +389,9 @@ static DEFINE_SIMPLE_COMMAND(inspect_rootid, "rootid");
 
 static const char* const cmd_inspect_min_dev_size_usage[] = {
        "btrfs inspect-internal min-dev-size [options] <path>",
-       "Get the minimum size the device can be shrunk to. The",
-       "device id 1 is used by default.",
+       "Get the minimum size the device can be shrunk to",
        "",
+       "The device id 1 is used by default.",
        "--id DEVID   specify the device id to query",
        NULL
 };
-- 
2.29.2

Reply via email to