Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Commit

Permalink
Better Template Error Warn
Browse files Browse the repository at this point in the history
  • Loading branch information
Naville committed Mar 10, 2016
1 parent 3cdc13f commit 8cb197f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Template.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
outPath = "./Hooks/"
if (len(sys.argv) < 2):
print "Template.py ModuleType ModuleName"
print "Valid ModuleType:"
for name in ValidType:
print name
sys.exit(-1)
if (sys.argv[1] not in ValidType):
print "Wrong argument #1"
Expand Down

0 comments on commit 8cb197f

Please sign in to comment.