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.

Also, the consistency is missing whether to add a period after the
one-line statement of the btrfs --help output.
So while here, this patch adds a period at the end of the help
statement and makes it consistent within the command
btrfs inspect-internal --help.

Signed-off-by: Anand Jain <anand.j...@oracle.com>
---
 cmds/inspect.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/cmds/inspect.c b/cmds/inspect.c
index 15f19c8a3027..fcb3b1ae1321 100644
--- a/cmds/inspect.c
+++ b/cmds/inspect.c
@@ -80,7 +80,7 @@ out:
 
 static const char * const cmd_inspect_inode_resolve_usage[] = {
        "btrfs inspect-internal inode-resolve [-v] <inode> <path>",
-       "Get file system paths for the given inode",
+       "Get file system paths for the given inode.",
        "",
        "-v   deprecated, alias for global -v option",
        HELPINFO_INSERT_GLOBALS,
@@ -126,7 +126,7 @@ static DEFINE_SIMPLE_COMMAND(inspect_inode_resolve, 
"inode-resolve");
 
 static const char * const cmd_inspect_logical_resolve_usage[] = {
        "btrfs inspect-internal logical-resolve [-Pvo] [-s bufsize] <logical> 
<path>",
-       "Get file system paths for the given logical address",
+       "Get file system paths for the given logical address.",
        "",
        "-P          skip the path resolving and print the inodes instead",
        "-o          ignore offsets when matching references (requires v2 
ioctl",
@@ -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