diff mbox

Btrfs-progs: fix typo in btrfs-device.txt

Message ID 1429525889-2843-1-git-send-email-anand.jain@oracle.com (mailing list archive)
State Superseded
Headers show

Commit Message

Anand Jain April 20, 2015, 10:31 a.m. UTC
Signed-off-by: Anand Jain <anand.jain@oracle.com>
---
 Documentation/btrfs-device.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Duncan April 20, 2015, 11:34 a.m. UTC | #1
Anand Jain posted on Mon, 20 Apr 2015 18:31:29 +0800 as excerpted:

> Signed-off-by: Anand Jain <anand.jain@oracle.com>
> ---
>  Documentation/btrfs-device.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/btrfs-device.txt
> b/Documentation/btrfs-device.txt index 4bb5ea5..0bc1be3 100644 ---
> a/Documentation/btrfs-device.txt +++ b/Documentation/btrfs-device.txt @@
> -53,7 +53,7 @@ run `btrfs-balance`(8) to rebuild the chunks.
>  See `btrfs-balance`(8) for more details.
>  
>  Device add/remove/replace::
> -Device can be added/removed using `btrfs-replace`(8) subcommand and replaced
> +Device can be added/removed using `btrfs-delete`(8) subcommand and replaced
>  using `btrfs-replace`(8).
>  +
>  When device is removed or replaced, btrfs will do the chunk rebuild if needed.

That isn't correct either.  Device can be _added_ using btrfs-delete?  It's
btrfs device add, tho I'm not sure the appropriate notation for that here
in ordered to have the manpage work correctly.

Maybe:

 Device add/remove/replace::
-Device can be added/removed using `btrfs-replace`(8) subcommand and replaced
+Device can be added/removed using add/delete as below and replaced
 using `btrfs-replace`(8).
diff mbox

Patch

diff --git a/Documentation/btrfs-device.txt b/Documentation/btrfs-device.txt
index 4bb5ea5..0bc1be3 100644
--- a/Documentation/btrfs-device.txt
+++ b/Documentation/btrfs-device.txt
@@ -53,7 +53,7 @@  run `btrfs-balance`(8) to rebuild the chunks.
 See `btrfs-balance`(8) for more details.
 
 Device add/remove/replace::
-Device can be added/removed using `btrfs-replace`(8) subcommand and replaced
+Device can be added/removed using `btrfs-delete`(8) subcommand and replaced
 using `btrfs-replace`(8).
 +
 When device is removed or replaced, btrfs will do the chunk rebuild if needed.