You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pegasus.apache.org by wu...@apache.org on 2021/04/08 08:02:34 UTC

[incubator-pegasus] 01/01: fix(shell): update help to claim that policy in restore command is optional

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

wutao pushed a commit to branch shell
in repository https://gitbox.apache.org/repos/asf/incubator-pegasus.git

commit 27a868d6b4038a07776ecfa219b5515e0dfc15d5
Author: neverchanje <wu...@gmail.com>
AuthorDate: Thu Apr 8 16:02:13 2021 +0800

    fix(shell): update help to claim that policy in restore command is optional
---
 rdsn               | 2 +-
 src/shell/main.cpp | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/rdsn b/rdsn
index f508428..646a8b1 160000
--- a/rdsn
+++ b/rdsn
@@ -1 +1 @@
-Subproject commit f5084283e91f73ae1bea50ad722ccd20561c76a7
+Subproject commit 646a8b1ff31fd38e870bb7708c76a8c172825c5e
diff --git a/src/shell/main.cpp b/src/shell/main.cpp
index 43c2eb8..f2e9fe5 100644
--- a/src/shell/main.cpp
+++ b/src/shell/main.cpp
@@ -418,9 +418,10 @@ static command_executor commands[] = {
     {
         "restore_app",
         "restore app from backup media",
-        "<-c|--old_cluster_name str> <-p|--old_policy_name str> <-a|--old_app_name str> "
+        "<-c|--old_cluster_name str> <-a|--old_app_name str> "
         "<-i|--old_app_id id> <-t|--timestamp/backup_id timestamp> "
-        "<-b|--backup_provider_type str> [-n|--new_app_name str] [-s|--skip_bad_partition]",
+        "<-b|--backup_provider_type str> "
+        "[-p|--old_policy_name str] [-n|--new_app_name str] [-s|--skip_bad_partition]",
         restore,
     },
     {

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pegasus.apache.org
For additional commands, e-mail: commits-help@pegasus.apache.org