mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-22 13:34:07 +03:00
virtclone: Drop --print-xml special --auto-clone behavior
For unclear reasons we allowed --print-xml without --file or --auto-clone, like is required for a traditional clone, which can lead to some weird behavior. Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
1a1e4580c0
commit
8988572776
@ -146,8 +146,7 @@ def main(conn=None):
|
||||
conn = cli.getConnection(options.connect, conn=conn)
|
||||
|
||||
if (options.new_diskfile is None and
|
||||
options.auto_clone is False and
|
||||
options.xmlonly is False):
|
||||
options.auto_clone is False):
|
||||
fail(_("Either --auto-clone or --file is required,"
|
||||
" use '--auto-clone or --file' and try again."))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user