From 6dbf6b984640170fa71f67ae34401c7488b67606 Mon Sep 17 00:00:00 2001 From: Rucha Mahabal Date: Tue, 10 Sep 2019 17:59:36 +0530 Subject: [PATCH] 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 --- bench/commands/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bench/commands/__init__.py b/bench/commands/__init__.py index 0da08013..cb749420 100755 --- a/bench/commands/__init__.py +++ b/bench/commands/__init__.py @@ -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.