Skip to content

Commit

Permalink
Switch to newer click (2.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuhiko committed Aug 12, 2014
1 parent 60260eb commit f6d25bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions flask/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,11 @@ def without_appcontext(f):
return f


def set_debug_value(ctx, value):
def set_debug_value(ctx, param, value):
ctx.ensure_object(ScriptInfo).debug = value


def set_app_value(ctx, value):
def set_app_value(ctx, param, value):
if value is not None:
if os.path.isfile(value):
value = prepare_exec_for_file(value)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def run(self):
'Werkzeug>=0.7',
'Jinja2>=2.4',
'itsdangerous>=0.21',
'click>=0.6',
'click>=2.0',
],
classifiers=[
'Development Status :: 4 - Beta',
Expand Down

0 comments on commit f6d25bb

Please sign in to comment.