modify to add an option for `p4 revert -a`

To support revert if unchanged
Merge pull request #2 from heycalmdown/patch-2

Thanks!