Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: "Error: no such option: --backup" #946

Merged
merged 2 commits into from Mar 4, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion bench/commands/update.py
Expand Up @@ -23,7 +23,7 @@
@click.option('--reset', is_flag=True, help="Hard resets git branch's to their new states overriding any changes and overriding rebase on pull")
def update(pull, patch, build, bench, requirements, restart_supervisor, restart_systemd, no_backup, force, reset):
from bench.utils import update
update(pull=pull, patch=patch, build=build, bench=bench, requirements=requirements, restart_supervisor=restart_supervisor, restart_systemd=restart_systemd, backup= not no_backup, force=force, reset=reset)
update(pull=pull, patch=patch, build=build, bench=bench, requirements=requirements, restart_supervisor=restart_supervisor, restart_systemd=restart_systemd, backup= no_backup, force=force, reset=reset)
gavindsouza marked this conversation as resolved.
Show resolved Hide resolved


@click.command('retry-upgrade', help="Retry a failed upgrade")
Expand Down
2 changes: 1 addition & 1 deletion bench/utils.py
Expand Up @@ -190,7 +190,7 @@ def update(pull=False, patch=False, build=False, bench=False, restart_supervisor
'patch': patch,
'build': build,
'requirements': requirements,
'backup': backup,
'no-backup': not backup,
'restart-supervisor': restart_supervisor,
'reset': reset
})
Expand Down