summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-01 00:42:02 -0500
committerJeff Carr <[email protected]>2024-11-01 00:42:02 -0500
commitfb9f42285dd9f2840566b71d05f4383a00cfd267 (patch)
tree52944e97de9bdf2520c1760d41ecd3fbf7892a4f /argv.go
parenta1feb086a638ef8380e008f88835567fdc10f44c (diff)
sprintf changesv0.0.3
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/argv.go b/argv.go
index 917dffb..6f9a8d2 100644
--- a/argv.go
+++ b/argv.go
@@ -28,8 +28,9 @@ type ImportXml struct {
IgnoreCpu bool `arg:"--xml-ignore-cpu" default:"true" help:"ignore non-standard libvirt xml cpus"`
IgnoreBr bool `arg:"--xml-ignore-net" default:"true" help:"ignore network bridge name changes"`
IgnDisk bool `arg:"--xml-ignore-disk" default:"false" help:"ignore duplicate disk names"`
- DomainName string `arg:"--name" help:"virsh domain name"`
- Host string `arg:"--host" help:"hypervisor hostname"`
+ DomainName string `arg:"--domain" help:"the virsh domain name"`
+ Host string `arg:"--host" help:"the hypervisor hostname (optional)"`
+ Delete bool `arg:"--delete" default:"false" help:"delete the old xml after import"`
}
type args struct {