Skip to content
This repository has been archived by the owner on Feb 13, 2020. It is now read-only.

Commit

Permalink
Merge pull request #301 from gamechanger/zm-test-options-first
Browse files Browse the repository at this point in the history
pass options_first flag for arg compilation
  • Loading branch information
zacharym committed Jun 25, 2015
2 parents ea92bb5 + 9092a7c commit 35b54c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dusty/cli/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
If args are passed, default arguments are dropped
Usage:
test <app_or_lib_name> [<suite_name>] [<args>...] [--recreate] [--no-pull]
test [options] <app_or_lib_name> [<suite_name>] [<args>...] [--recreate] [--no-pull]
Options:
<suite_name> Name of the test suite you would like to run
Expand All @@ -25,7 +25,7 @@
ensure_valid_suite_name)

def main(argv):
args = docopt(__doc__, argv)
args = docopt(__doc__, argv, options_first=True)
if not args['<suite_name>']:
return Payload(test_info_for_app_or_lib, args['<app_or_lib_name>'])
else:
Expand Down

0 comments on commit 35b54c0

Please sign in to comment.