implement -prune
note -prune as implemented.