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 #52 from adamjernst/master
Browse files Browse the repository at this point in the history
Fix default param for directory
  • Loading branch information
modocache committed Apr 17, 2015
2 parents c8b8519 + 7196040 commit 831e065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codemod.py
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ def _parse_command_line():
parser.add_argument('-m', action='store_true',
help='Have regex work over multiple lines (e.g. have dot match newlines). '
'By default, codemod applies the regex one line at a time.')
parser.add_argument('-d', action='store', type=str,
parser.add_argument('-d', action='store', type=str, default='.',
help='The path whose descendent files are to be explored. '
'Defaults to current dir.')

Expand Down

0 comments on commit 831e065

Please sign in to comment.