lib/aws_ec2/help/clean/ami.md in aws-ec2-1.3.0 vs lib/aws_ec2/help/clean/ami.md in aws-ec2-1.3.1

- old
+ new

@@ -1,9 +1,9 @@ Examples: - $ aws-ec2 clean ami base-amazonlinux2 - $ aws-ec2 clean ami base-ubuntu --keep 5 + $ aws-ec2 clean ami 'base-amazonlinux2*' + $ aws-ec2 clean ami 'base-ubuntu*' --keep 5 Deletes old AMIs using the provided name as the base portion of the AMI name to search for. Let's say you have these images: @@ -14,8 +14,8 @@ base-ubuntu_2018-03-25-02-43 base-ubuntu_2018-03-23-00-15 Running: - $ aws-ec2 clean ami base-ubuntu + $ aws-ec2 clean ami 'base-ubuntu*' -Would delete all images and keep the 2 most recent AMIs. The default `--keep` value is 2. +Would delete all images and keep the 2 most recent AMIs. The default `--keep` value is 2. Make sure to surround the query pattern with a single quote to prevent shell glob expansion.