Support --format=<format> argument for wp cap list
#2851
Merged
--format=<format> argument for wp cap list
#2851