@utils.arg('image', metavar='<image>', nargs='+', help=_('Name or ID of image(s).'))
@deprecated_image
def do_image_delete(cs, args):
 for image in args.image:
  try:
   image = _find_image(cs, image)
   cs.images.delete(image)
  except Exception as e:
   print((_('Delete for image %(image)s failed: %(e)s') % {'image': image, 'e': e}))

@ utils . arg ( 'image' , metavar = '<image>' , nargs = '+' , help = _ ( 'Name or ID of image(s).' ) ) @ deprecated_image def do_image_delete ( cs , args ) : for image in args . image : try : image = _find_image ( cs , image ) cs . images . delete ( image ) except Exception as e : print ( ( _ ( 'Delete for image %(image)s failed: %(e)s' ) % { 'image' : image , 'e' : e } ) )
delete specified image(s) .