Skip to content

Commit

Permalink
Merge pull request #1450 from pentop/feature-mike
Browse files Browse the repository at this point in the history
fixed up environment.parsed_options
  • Loading branch information
cyberw authored Jun 24, 2020
2 parents a9dac57 + aa164c7 commit 05c31bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/add_command_line_argument.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def _(parser):

@events.init.add_listener
def _(environment, **kw):
print("Custom argument supplied: %s" % environment.options.custom_argument)
print("Custom argument supplied: %s" % environment.parsed_options.custom_argument)


class WebsiteUser(HttpUser):
Expand Down

0 comments on commit 05c31bc

Please sign in to comment.