Skip to content
This repository has been archived by the owner on Jun 10, 2021. It is now read-only.

Commit

Permalink
Merge pull request #51 from chiragnagpal/master
Browse files Browse the repository at this point in the history
gh-49 adds test to check if extensions are specified
  • Loading branch information
modocache committed Apr 10, 2015
2 parents 5fdede5 + 85931ac commit c8b8519
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/codemod.py
Original file line number Diff line number Diff line change
Expand Up @@ -822,6 +822,10 @@ def _parse_command_line():
doctest.testmod()
sys.exit(0)

if (arguments.extensions == None) and (arguments.include_extensionless == False):
parser.print_usage()
sys.exit(0)

yes_to_all = arguments.accept_all

query_options = {}
Expand Down

0 comments on commit c8b8519

Please sign in to comment.