Skip to content

Commit

Permalink
fix: no-backup option argument (frappe#842)
Browse files Browse the repository at this point in the history
* fix: --no-backup option set to 1 by default

* Update bench/commands/__init__.py

Co-Authored-By: Chinmay Pai <chinmaydpai@gmail.com>
  • Loading branch information
ruchamahabal and Thunderbottom committed Sep 10, 2019
1 parent f6d1a9f commit 6dbf6b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bench/commands/__init__.py
Expand Up @@ -89,7 +89,7 @@ def bench_command(bench_path='.'):

@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.
Expand Down

0 comments on commit 6dbf6b9

Please sign in to comment.