Skip to content

Commit

Permalink
Merge pull request #128 from guokr/fixes_click
Browse files Browse the repository at this point in the history
fixes click
  • Loading branch information
gusibi committed Oct 26, 2018
2 parents 3e1c2e9 + 7ebe148 commit 39c719c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -33,7 +33,7 @@ swagger_py_codegen --swagger-doc api.yml example-app

Command Options:

-s, --swagger, --swagger-doc Swagger doc file. [required]
-s, --swagger-doc Swagger doc file. [required]
-f, --force Force overwrite.
-p, --package Package name / application name.
-t, --template-dir Path of your custom templates directory.
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
@@ -1,7 +1,7 @@
six
json-spec
click
click<7
jinja2
dpath
PyYAML==3.12
flex
flex
2 changes: 1 addition & 1 deletion swagger_py_codegen/_version.py
@@ -1,4 +1,4 @@
"""Version information."""

# The following line *must* be the last in the module, exactly as formatted:
__version__ = "0.3.4"
__version__ = "0.3.5"
2 changes: 1 addition & 1 deletion swagger_py_codegen/command.py
Expand Up @@ -139,7 +139,7 @@ def print_version(ctx, param, value):

@click.command()
@click.argument('destination', required=True)
@click.option('-s', '--swagger', '--swagger-doc',
@click.option('-s', '--swagger-doc',
required=True, help='Swagger doc file.')
@click.option('-f', '--force',
default=False, is_flag=True, help='Force overwrite.')
Expand Down

0 comments on commit 39c719c

Please sign in to comment.