facebookarchive / codemod

Codemod is a tool/library to assist you with large-scale codebase refactors that can be partially automated but still require human oversight and occasional intervention. Codemod was developed at Facebook and released as open source.
Apache License 2.0
4.11k stars 198 forks source link

Exit with usage message when nothing to do #79

Closed snickl closed 8 years ago

snickl commented 8 years ago

The program would crash when run without a match argument. Show the usage message instead and exit cleanly.

kastiglione commented 8 years ago

Thanks!