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 11[pytest]
22python_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 1818# Copyright 2010-2016 RethinkDB, all rights reserved.
1919
2020
21- '''`rethinkdb dump` creates an archive of data from a RethinkDB cluster'''
21+ '''`rethinkdb- dump` creates an archive of data from a RethinkDB cluster'''
2222
2323from __future__ import print_function
2424
@@ -95,7 +95,6 @@ def parse_options(argv, prog=None):
9595 options , args = parser .parse_args (argv )
9696
9797 # Check validity of arguments
98-
9998 if len (args ) != 0 :
10099 raise parser .error ("No positional arguments supported. Unrecognized option(s): %s" % args )
101100
@@ -141,7 +140,7 @@ def parse_options(argv, prog=None):
141140
142141
143142def 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 )
145144 try :
146145 if not options .quiet :
147146 # 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