2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-27 22:39:03 +00:00

fix bench update

This commit is contained in:
Pratik Vyas 2014-07-11 10:02:54 +05:30
parent e04f548389
commit 1a86f8e238

View File

@ -43,17 +43,17 @@ def new_site(site):
@click.option('--patch',flag_value=True, type=bool)
@click.option('--build',flag_value=True, type=bool)
@click.option('--bench',flag_value=True, type=bool)
def update(pull=False, patch=False, build=False):
def update(pull=False, patch=False, build=False, bench=False):
if not (pull or patch or build or bench):
pull, patch, build, bench = True, True, True, True
if bench:
update_bench()
if pull:
pull_all_apps()
if patch:
patch_sites()
if build:
build_assets()
if bench:
update_bench()
@click.command('restart')
def restart():