Add nargs to argparse for image-delete command to
allow muliple (optional) positional image-id arguments.
For example:
image-delete xxx aaa yyy will delete valid images
xxx and yyy and print error message for invalid image
aaa. Also with --verbose you can see some extra text
on delete request for each image.
Reviewed: https:/ /review. openstack. org/14637 github. com/openstack/ python- glanceclient/ commit/ 8b2c227f27be649 a4a3e371ad99157 ee464ecc1d
Committed: http://
Submitter: Jenkins
Branch: master
commit 8b2c227f27be649 a4a3e371ad99157 ee464ecc1d
Author: Sulochan Acharya <email address hidden>
Date: Mon Oct 22 17:01:46 2012 -0500
Allow deletion of multiple images through CLI
Add nargs to argparse for image-delete command to
allow muliple (optional) positional image-id arguments.
For example:
image-delete xxx aaa yyy will delete valid images
xxx and yyy and print error message for invalid image
aaa. Also with --verbose you can see some extra text
on delete request for each image.
Fixes bug1056498.
Change-Id: I6e804700ed24d1 6f90ec92569c089 3cad4aaa26f