Skip to content

Commit bf1c864

Browse files
authored
Update refresh.py
1 parent cd8a740 commit bf1c864

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

SoftLayer/CLI/file/refresh.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,9 @@
99
@click.command(cls=SoftLayer.CLI.command.SLCommand, )
1010
@click.argument('volume_id')
1111
@click.argument('snapshot_id')
12-
@click.option('--force-refresh', '-f',
12+
@click.option('--force-refresh', '-f', is_flag = True, default = False, show_default = True,
1313
help="Cancel current refresh process and initiates the new refresh.",
14-
type=click.BOOL,
15-
default=False,
16-
show_default=True)
14+
)
1715
@environment.pass_env
1816
def cli(env, volume_id, snapshot_id, force_refresh):
1917
"""Refresh a duplicate volume with a snapshot from its parent."""

0 commit comments

Comments
 (0)