]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rbd: fix text in mirror group help messages
authorJohn Agombar <agombar@uk.ibm.com>
Mon, 30 Sep 2024 12:28:24 +0000 (13:28 +0100)
committerPrasanna Kumar Kalever <prasanna.kalever@redhat.com>
Thu, 24 Apr 2025 15:56:37 +0000 (21:26 +0530)
Signed-off-by: John Agombar <agombar@uk.ibm.com>
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
src/test/cli/rbd/help.t
src/tools/rbd/action/MirrorGroup.cc

index 4ab1c4abb718e8a9ea65c21a8e0e583f22c44052..6a16e0b1b0f404aa6e8266af1aae046a0b5b79d8 100644 (file)
       migration commit                  Commit image migration.
       migration execute                 Execute image migration.
       migration prepare                 Prepare image migration.
-      mirror group demote               Demote an group to non-primary for RBD
+      mirror group demote               Demote a group to non-primary for RBD
                                         mirroring.
-      mirror group disable              Disable RBD mirroring for an group.
-      mirror group enable               Enable RBD mirroring for an group.
-      mirror group promote              Promote an group to primary for RBD
+      mirror group disable              Disable RBD mirroring for a group.
+      mirror group enable               Enable RBD mirroring for a group.
+      mirror group promote              Promote a group to primary for RBD
                                         mirroring.
       mirror group resync               Force resync to primary group for RBD
                                         mirroring.
       mirror group snapshot schedule status
                                         Show mirror group snapshot schedule
                                         status.
-      mirror group status               Show RBD mirroring status for an group.
+      mirror group status               Show RBD mirroring status for a group.
       mirror image demote               Demote an image to non-primary for RBD
                                         mirroring.
       mirror image disable              Disable RBD mirroring for an image.
                                  [--group <group>] 
                                  <group-spec> 
   
-  Demote an group to non-primary for RBD mirroring.
+  Demote a group to non-primary for RBD mirroring.
   
   Positional arguments
     <group-spec>         group specification
                                   [--namespace <namespace>] [--group <group>] 
                                   <group-spec> 
   
-  Disable RBD mirroring for an group.
+  Disable RBD mirroring for a group.
   
   Positional arguments
     <group-spec>         group specification
                                  [--group <group>] 
                                  <group-spec> <mode> 
   
-  Enable RBD mirroring for an group.
+  Enable RBD mirroring for a group.
   
   Positional arguments
     <group-spec>         group specification
                                   [--namespace <namespace>] [--group <group>] 
                                   <group-spec> 
   
-  Promote an group to primary for RBD mirroring.
+  Promote a group to primary for RBD mirroring.
   
   Positional arguments
     <group-spec>         group specification
                                  [--pretty-format] 
                                  <group-spec> 
   
-  Show RBD mirroring status for an group.
+  Show RBD mirroring status for a group.
   
   Positional arguments
     <group-spec>         group specification
index 5be176283e85691ea30e9290e0a2e22cc2acc31c..1b18d366bc9afe921c93575719e502046290d5cc 100644 (file)
@@ -618,19 +618,19 @@ int execute_snapshot(const po::variables_map &vm,
 
 Shell::Action action_enable(
   {"mirror", "group", "enable"}, {},
-  "Enable RBD mirroring for an group.", "",
+  "Enable RBD mirroring for a group.", "",
   &get_arguments_enable, &execute_enable);
 Shell::Action action_disable(
   {"mirror", "group", "disable"}, {},
-  "Disable RBD mirroring for an group.", "",
+  "Disable RBD mirroring for a group.", "",
   &get_arguments_disable, &execute_disable);
 Shell::Action action_promote(
   {"mirror", "group", "promote"}, {},
-  "Promote an group to primary for RBD mirroring.", "",
+  "Promote a group to primary for RBD mirroring.", "",
   &get_arguments_promote, &execute_promote);
 Shell::Action action_demote(
   {"mirror", "group", "demote"}, {},
-  "Demote an group to non-primary for RBD mirroring.", "",
+  "Demote a group to non-primary for RBD mirroring.", "",
   &get_arguments, &execute_demote);
 Shell::Action action_resync(
   {"mirror", "group", "resync"}, {},
@@ -638,7 +638,7 @@ Shell::Action action_resync(
   &get_arguments, &execute_resync);
 Shell::Action action_status(
   {"mirror", "group", "status"}, {},
-  "Show RBD mirroring status for an group.", "",
+  "Show RBD mirroring status for a group.", "",
   &get_status_arguments, &execute_status);
 Shell::Action action_snapshot(
   {"mirror", "group", "snapshot"}, {},