Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Commit 090517f

Browse files
committed
virt-install: REALLY really fix --print-xml warning msg
1 parent 1e214b7 commit 090517f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

virt-install

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1213,15 +1213,15 @@ def xml_to_print(guest, continue_inst, xmlonly, xmlstep, dry):
12131213
print_stdout(_("Dry run completed successfully"))
12141214
return
12151215

1216-
# --xml-only
1216+
# --print-xml
12171217
if xmlonly and not xmlstep:
12181218
if second_xml or final_xml:
1219-
fail(_("--xml-only can only be used with guests that do not have "
1219+
fail(_("--print-xml can only be used with guests that do not have "
12201220
"an installation phase (--import, --boot, etc.). To see all"
12211221
" generated XML, please use --print-step all."))
12221222
return start_xml
12231223

1224-
# --xml-step
1224+
# --print-step
12251225
if xmlstep == "1":
12261226
return start_xml
12271227
if xmlstep == "2":

0 commit comments

Comments
 (0)