File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
1
[pytest]
2
2
python_files = test_*.py
3
+ markers =
4
+ unit: Run unit tests
5
+ integration: Run integration tests
6
+ asyncio: Run asyncio relates tests
Original file line number Diff line number Diff line change 18
18
# Copyright 2010-2016 RethinkDB, all rights reserved.
19
19
20
20
21
- '''`rethinkdb dump` creates an archive of data from a RethinkDB cluster'''
21
+ '''`rethinkdb- dump` creates an archive of data from a RethinkDB cluster'''
22
22
23
23
from __future__ import print_function
24
24
@@ -95,7 +95,6 @@ def parse_options(argv, prog=None):
95
95
options , args = parser .parse_args (argv )
96
96
97
97
# Check validity of arguments
98
-
99
98
if len (args ) != 0 :
100
99
raise parser .error ("No positional arguments supported. Unrecognized option(s): %s" % args )
101
100
@@ -141,7 +140,7 @@ def parse_options(argv, prog=None):
141
140
142
141
143
142
def main (argv = None , prog = None ):
144
- options = parse_options (argv or sys .argv [2 :], prog = prog )
143
+ options = parse_options (argv or sys .argv [1 :], prog = prog )
145
144
try :
146
145
if not options .quiet :
147
146
# Print a warning about the capabilities of dump, so no one is confused (hopefully)
You can’t perform that action at this time.
0 commit comments