Added flags to spec to only clear spec files

- The new flag will only clear spec files from the
  require and global caches.

- If the new flag is not specified then then entire
  require and global caches will be clear as normal.