1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-01-31 05:47:15 +03:00
Peter Krempa 1efb794487 virsh: Fix "positional" argument annotations for 'migrate' command
Annotate arguments which can be unintentionally parsed positionally.
(See previous commits for explanation.)

Annotate '--migrateuri', '--graphicsuri', '--listen-address', '-dname',
'--timeout', '--xml', '--migrate-disks' and '--disks port' as
'unwanted_positional'. These were declared in chronological order per
git history.

All others are annotated with VSH_OFLAG_REQ_OPT which makes the parser
require the '--optionname'. This is due to the fact that '--disks-uri'
was introduced later and put in front of others declared earlier
breaking the order they would be accepted, thus changing the behaviour
between versions.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2024-04-02 14:24:29 +02:00
..
2023-11-24 09:53:14 +01:00
2024-03-13 15:02:52 +01:00
2024-03-13 15:02:52 +01:00
2019-08-09 09:03:53 +02:00
2024-03-13 15:02:52 +01:00
2024-03-13 15:02:52 +01:00
2024-03-13 15:02:52 +01:00
2024-03-13 15:02:52 +01:00
2023-03-13 13:29:07 +01:00
2023-05-05 15:08:25 +02:00