Only remove <command>'s <arg> elements when using --main
commite77b177fb43cd231dfbb4d8746a0b82aeb044db7
authorThomas Leonard <talex5@gmail.com>
Tue, 11 Jan 2011 19:48:08 +0000 (11 19:48 +0000)
committerThomas Leonard <talex5@gmail.com>
Sat, 15 Jan 2011 14:46:08 +0000 (15 14:46 +0000)
tree469815e19ac1d3792ca6927747c5fa7e569418e0
parent22572d1bf6446779e3210bea5b2a975b1f2225d8
Only remove <command>'s <arg> elements when using --main

Before, we also lost the runner, which caused trouble.
zeroinstall/injector/run.py