Skip to content

Commit 1ce5471

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Change "ID only" to "name or ID" for backup commands"
2 parents 6eef299 + 1d85a3f commit 1ce5471

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

doc/source/command-objects/backup.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Delete backup(s)
4949
.. _backup_delete-backup:
5050
.. describe:: <backup>
5151

52-
Backup(s) to delete (ID only)
52+
Backup(s) to delete (name or ID)
5353

5454
backup list
5555
-----------
@@ -81,7 +81,7 @@ Restore backup
8181
.. _backup_restore-backup:
8282
.. describe:: <backup>
8383

84-
Backup to restore (ID only)
84+
Backup to restore (name or ID)
8585

8686
.. describe:: <volume>
8787

@@ -101,4 +101,4 @@ Display backup details
101101
.. _backup_show-backup:
102102
.. describe:: <backup>
103103

104-
Backup to display (ID only)
104+
Backup to display (name or ID)

openstackclient/volume/v1/backup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def get_parser(self, prog_name):
7676
'backups',
7777
metavar='<backup>',
7878
nargs="+",
79-
help=_('Backup(s) to delete (ID only)'),
79+
help=_('Backup(s) to delete (name or ID)'),
8080
)
8181
return parser
8282

@@ -150,7 +150,7 @@ def get_parser(self, prog_name):
150150
parser.add_argument(
151151
'backup',
152152
metavar='<backup>',
153-
help=_('Backup to restore (ID only)')
153+
help=_('Backup to restore (name or ID)')
154154
)
155155
parser.add_argument(
156156
'volume',
@@ -177,7 +177,7 @@ def get_parser(self, prog_name):
177177
parser.add_argument(
178178
'backup',
179179
metavar='<backup>',
180-
help=_('Backup to display (ID only)')
180+
help=_('Backup to display (name or ID)')
181181
)
182182
return parser
183183

openstackclient/volume/v2/backup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def get_parser(self, prog_name):
147147
parser.add_argument(
148148
"backup",
149149
metavar="<backup>",
150-
help=_("Backup to restore (ID only)")
150+
help=_("Backup to restore (name or ID)")
151151
)
152152
parser.add_argument(
153153
"volume",

0 commit comments

Comments
 (0)