From: John Agombar Date: Mon, 30 Sep 2024 12:28:24 +0000 (+0100) Subject: rbd: fix text in mirror group help messages X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=edb4df31b30b99d17a71186209f267fbd7dec587;p=ceph.git rbd: fix text in mirror group help messages Signed-off-by: John Agombar Signed-off-by: Prasanna Kumar Kalever --- diff --git a/src/test/cli/rbd/help.t b/src/test/cli/rbd/help.t index 4ab1c4abb718e..6a16e0b1b0f40 100644 --- a/src/test/cli/rbd/help.t +++ b/src/test/cli/rbd/help.t @@ -87,11 +87,11 @@ 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. @@ -105,7 +105,7 @@ 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. @@ -1703,7 +1703,7 @@ [--group ] - Demote an group to non-primary for RBD mirroring. + Demote a group to non-primary for RBD mirroring. Positional arguments group specification @@ -1719,7 +1719,7 @@ [--namespace ] [--group ] - Disable RBD mirroring for an group. + Disable RBD mirroring for a group. Positional arguments group specification @@ -1736,7 +1736,7 @@ [--group ] - Enable RBD mirroring for an group. + Enable RBD mirroring for a group. Positional arguments group specification @@ -1754,7 +1754,7 @@ [--namespace ] [--group ] - Promote an group to primary for RBD mirroring. + Promote a group to primary for RBD mirroring. Positional arguments group specification @@ -1876,7 +1876,7 @@ [--pretty-format] - Show RBD mirroring status for an group. + Show RBD mirroring status for a group. Positional arguments group specification diff --git a/src/tools/rbd/action/MirrorGroup.cc b/src/tools/rbd/action/MirrorGroup.cc index 5be176283e856..1b18d366bc9af 100644 --- a/src/tools/rbd/action/MirrorGroup.cc +++ b/src/tools/rbd/action/MirrorGroup.cc @@ -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"}, {},