Index: expect_tests/main.py |
diff --git a/expect_tests/main.py b/expect_tests/main.py |
index 8957adb1e94fce7e0e1bc0bbbf5e2a01fe35bc66..0cbc96d0c13e2a2be1b2f982dffbc7137245fd4d 100644 |
--- a/expect_tests/main.py |
+++ b/expect_tests/main.py |
@@ -64,24 +64,15 @@ def _parse_args(args): |
).completer = lambda **_: [] |
sp.add_argument( |
- '--package', metavar='PATH', action='append', default=[], |
- help='path to a Python package.') |
- |
- sp.add_argument( |
- '--directory', metavar='PATH', action='append', default=[], |
- help='directory containing Python packages to test.') |
- |
- sp.add_argument( |
'--html-report', '--html_report', metavar='DIR', |
help='directory to write html report (default: disabled)' |
).completer = lambda **_: [] |
sp.add_argument( |
'test_glob', nargs='*', help=( |
- 'glob to filter the tests acted on. If the glob begins with "-" ' |
- 'then it acts as a negation glob and anything which matches it ' |
- 'will be skipped. If a glob doesn\'t have "*" in it, "*" will be ' |
- 'implicitly appended to the end') |
+ 'paths to look for tests in. It can be a directory containing ' |
+ 'packages, a package, a file inside a package or a test inside a ' |
+ 'file (append the name of the test to the path using a colon)') |
) |
opts = parser.parse_args(args) |