Skip to content

Commit

Permalink
Merge pull request chrivers#9 from buchuki/run_script
Browse files Browse the repository at this point in the history
 * Add an import option as an alias to -b import
  • Loading branch information
Christian Iversen committed Jan 6, 2012
2 parents 2181b23 + 0a47e73 commit f8b409f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pyjs.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,12 @@ def main():
default = "none",
help = "INCLUDE builtins statically in each file\nIMPORT builtins using a load statement in each file\nGENERATE a separate file for builtins (output must be a directory)\nNONE don't include builtins")

parser.add_option("-I", "--import",
action = "store_const",
const = "import",
dest = "builtins",
help = "IMPORT builtins using a load statement in each file\n\nThis is an alias for -b import")

parser.add_option("-w", "--watch",
action = "store_true",
dest = "watch",
Expand Down

0 comments on commit f8b409f

Please sign in to comment.