Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Commit

Permalink
Fix find reqs args (#14)
Browse files Browse the repository at this point in the history
* Rename script & make executable

* Fix arguments
  • Loading branch information
SamGerber authored Oct 26, 2016
1 parent a233d8f commit 83b8010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion find_coffee_requirements → find_coffee_requirements.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ def main():

# example 'app/assets/javascripts/teach/course-creation-component.js.coffee'
parser.add_argument('filename', help='The file to use for starting the requirement search')
parser.add_argument('--asset-dir', dest='asset_dir', const='./', default='./', action='store', nargs='?', help='Asset dir to look into')
args = parser.parse_args()
parser.add_argument('--asset_dir', help='Asset dir to look into', default='./')

(requirement_filenames, missing_filenames) = get_requirement_filenames(args.asset_dir, args.filename)

Expand Down

0 comments on commit 83b8010

Please sign in to comment.