Fixed support for setting --main with 0alias
commit8e48ec64f813696befd8c6e32bf429b996a8f00d
authorThomas Leonard <talex5@gmail.com>
Thu, 29 Sep 2011 18:27:23 +0000 (29 19:27 +0100)
committerThomas Leonard <talex5@gmail.com>
Thu, 29 Sep 2011 18:27:23 +0000 (29 19:27 +0100)
treed583f762c776cff751c90b4d16d6fe30d9258493
parentda62da6ad006cb8e8ffedaaf28a8a2102722df8d
Fixed support for setting --main with 0alias

If no command was given it defaulted to "run", which meant that
any attempt to set a main produced the error:

  "Can't set --main and --command together"
0alias