Changeset 1226 in tailor


Ignore:
Timestamp:
07/13/06 14:06:54 (7 years ago)
Author:
Adeodato Simo <dato@…>
Hash name:
20060713120654-d6905-ec11eda71ddb5ab07af8ae30cc6ec5c9af84784a
Message:

tailor test -h includes proper usage information: tailor test, instead of tailor

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tailor

    r1178 r1226  
    2323    if len(sys.argv)>1 and sys.argv[1] == 'test': 
    2424        from vcpx.tests import main 
     25        sys.argv[0] += " test" 
     26        del sys.argv[1] 
    2527        main() 
    2628    else: 
  • vcpx/tests/__init__.py

    r1105 r1226  
    4040 
    4141    def __init__(self): 
    42         del sys.argv[1] 
    4342        TestProgram.__init__(self, module='vcpx.tests', argv=sys.argv) 
    4443 
Note: See TracChangeset for help on using the changeset viewer.