The new woob repository is here: This gitlab will be removed soon.

Commit 80dec659 authored by Romain Bignon's avatar Romain Bignon do not require to provide the 'woob' executable name in arguments

parent 8868ae22
......@@ -7,15 +7,16 @@
import sys
import tempfile
script = 'woob'
if len(sys.argv) < 2:
print("Usage: %s SCRIPTNAME [args]" % sys.argv[0])
print("Usage: %s COMMAND [args]" % sys.argv[0])
args = sys.argv[1:]
pyargs = []
while args and args[0].startswith('-'):
script = args.pop(0)
project = os.path.abspath(os.path.join(os.path.dirname(__file__), os.path.pardir))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment