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

fix: no-backup option argument (#842)

* fix: --no-backup option set to 1 by default

* Update bench/commands/__init__.py

Co-Authored-By: Chinmay Pai <chinmaydpai@gmail.com>
This commit is contained in:
Rucha Mahabal 2019-09-10 17:59:36 +05:30 committed by Chinmay Pai
parent f6d1a9fa5b
commit 6dbf6b9846

View File

@ -89,7 +89,7 @@ except ImportError:
@click.command('migrate-env')
@click.argument('python', type = str)
@click.option('--no-backup', default = False, help = 'Do not backup the existing Virtual Environment')
@click.option('--no-backup', is_flag=True)
def migrate_env(python, no_backup = False):
"""
Migrate Virtual Environment to desired Python Version.