You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by mm...@apache.org on 2021/03/28 01:21:34 UTC

[bookkeeper] branch master updated: Correct the argument of the recover command of bookie shell (#2653)

This is an automated email from the ASF dual-hosted git repository.

mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new 8400430  Correct the argument of the recover command of bookie shell (#2653)
8400430 is described below

commit 840043031cfc6d7153b98aeab42dd3f1404f34fb
Author: Masahiro Sakamoto <ma...@yahoo-corp.jp>
AuthorDate: Sun Mar 28 10:21:26 2021 +0900

    Correct the argument of the recover command of bookie shell (#2653)
---
 .../src/main/java/org/apache/bookkeeper/bookie/BookieShell.java         | 2 +-
 site/_data/cli/shell.yaml                                               | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/BookieShell.java b/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/BookieShell.java
index d989329..0da44a7 100644
--- a/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/BookieShell.java
+++ b/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/BookieShell.java
@@ -489,7 +489,7 @@ public class BookieShell implements Tool {
 
         @Override
         String getUsage() {
-            return "recover [-deleteCookie] <bookieSrc[:bookieSrc]>";
+            return "recover [-deleteCookie] <bookieSrc[,bookieSrc,...]>";
         }
 
         @Override
diff --git a/site/_data/cli/shell.yaml b/site/_data/cli/shell.yaml
index edd56ec..c800ecb 100644
--- a/site/_data/cli/shell.yaml
+++ b/site/_data/cli/shell.yaml
@@ -145,7 +145,7 @@ commands:
     description: End Position
 - name: recover
   description: Recover the ledger data for failed bookie.
-  argument: <bookieSrc> [<bookieDest>]
+  argument: <bookieSrc[,bookieSrc,...]>
   options:
   - flag: -deleteCookie
     description: Delete cookie node for the bookie.