diff --git a/src/codemod.py b/src/codemod.py index 8f96021..7ad489e 100755 --- a/src/codemod.py +++ b/src/codemod.py @@ -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 = {}