Skip to content

Commit aaff79d

Browse files
Merge pull request #1881 from edsonarios/issue1841
Solved bug `slcli vs capture` Error: Got unexpected extra argument
2 parents 2525d05 + 4ff1313 commit aaff79d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SoftLayer/CLI/virt/capture.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
@click.command(cls=SoftLayer.CLI.command.SLCommand, short_help="Capture SoftLayer image.")
1515
@click.argument('identifier')
1616
@click.option('--name', '-n', required=True, help="Name of the image")
17-
@click.option('--all', help="Capture all disks belonging to the VS")
17+
@click.option('--all', is_flag=True, default=False, help="Capture all disks belonging to the VS")
1818
@click.option('--note', help="Add a note to be associated with the image")
1919
@environment.pass_env
2020
def cli(env, identifier, name, all, note):

0 commit comments

Comments
 (0)