2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-12 00:06:36 +00:00

fix: invalid syntax for click option

ughhhhhhhhhh

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
This commit is contained in:
Chinmay D. Pai 2019-12-15 13:59:12 +05:30
parent 699705f64b
commit cac66a6b88
No known key found for this signature in database
GPG Key ID: 75507BE256F40CED

View File

@ -35,7 +35,7 @@ def init(path, apps_path, frappe_path, frappe_branch, no_procfile, no_backups,
@click.argument('name', nargs=-1) # Dummy argument for backward compatibility
@click.argument('git-url')
@click.option('--branch', default=None, help="branch to checkout")
@click.option('--overwrite' is_flag=True)
@click.option('--overwrite', is_flag=True)
def get_app(git_url, branch, name=None):
"clone an app from the internet and set it up in your bench"
from bench.app import get_app