2727
2828
2929class CreateBackup (show .ShowOne ):
30- """Create backup command """
30+ """Create new backup """
3131
3232 log = logging .getLogger (__name__ + '.CreateBackup' )
3333
@@ -36,13 +36,13 @@ def get_parser(self, prog_name):
3636 parser .add_argument (
3737 'volume' ,
3838 metavar = '<volume>' ,
39- help = 'The name or ID of the volume to backup ' ,
39+ help = 'Volume to backup ( name or ID) ' ,
4040 )
4141 parser .add_argument (
4242 '--container' ,
4343 metavar = '<container>' ,
4444 required = False ,
45- help = 'Optional backup container name. ' ,
45+ help = 'Optional backup container name' ,
4646 )
4747 parser .add_argument (
4848 '--name' ,
@@ -84,7 +84,7 @@ def get_parser(self, prog_name):
8484 'backups' ,
8585 metavar = '<backup>' ,
8686 nargs = "+" ,
87- help = 'Backup(s) to delete (name or ID )' ,
87+ help = 'Backup(s) to delete (ID only )' ,
8888 )
8989 return parser
9090
@@ -99,7 +99,7 @@ def take_action(self, parsed_args):
9999
100100
101101class ListBackup (lister .Lister ):
102- """List backup command """
102+ """List backups """
103103
104104 log = logging .getLogger (__name__ + '.ListBackup' )
105105
@@ -156,7 +156,7 @@ def _format_volume_id(volume_id):
156156
157157
158158class RestoreBackup (command .Command ):
159- """Restore backup command """
159+ """Restore backup"""
160160
161161 log = logging .getLogger (__name__ + '.RestoreBackup' )
162162
@@ -165,11 +165,11 @@ def get_parser(self, prog_name):
165165 parser .add_argument (
166166 'backup' ,
167167 metavar = '<backup>' ,
168- help = 'ID of backup to restore' )
168+ help = 'Backup to restore (ID only) ' )
169169 parser .add_argument (
170170 'volume' ,
171- metavar = '<dest- volume>' ,
172- help = 'ID of volume to restore to' )
171+ metavar = '<volume>' ,
172+ help = 'Volume to restore to (name or ID) ' )
173173 return parser
174174
175175 def take_action (self , parsed_args ):
@@ -184,7 +184,7 @@ def take_action(self, parsed_args):
184184
185185
186186class ShowBackup (show .ShowOne ):
187- """Show backup command """
187+ """Display backup details """
188188
189189 log = logging .getLogger (__name__ + '.ShowBackup' )
190190
@@ -193,7 +193,7 @@ def get_parser(self, prog_name):
193193 parser .add_argument (
194194 'backup' ,
195195 metavar = '<backup>' ,
196- help = 'Name or ID of backup to display' )
196+ help = 'Backup to display (ID only) ' )
197197 return parser
198198
199199 def take_action (self , parsed_args ):
0 commit comments