Mercurial > hg > Members > anatofuz > ie-virsh
diff src/main.rs @ 11:9fac2c578228
...
author | AnaTofuZ <anatofuz@gmail.com> |
---|---|
date | Thu, 29 Oct 2020 09:44:38 +0900 |
parents | 188bf8ab3e81 |
children | 0df4d067badb |
line wrap: on
line diff
--- a/src/main.rs Wed Oct 28 18:21:54 2020 +0900 +++ b/src/main.rs Thu Oct 29 09:44:38 2020 +0900 @@ -19,6 +19,8 @@ Console(Console), Start(Start), Ttyconsole(TTyConsole), + VNCDisplay(VNCDisplay) + //todo define-gdb dumpxml } /// define (but don't start) a domain from an template XML file @@ -27,6 +29,12 @@ name: String, } +// vncdisplay +#[derive(Clap)] +struct VNCDisplay { + name_or_id: String, +} + /// undefine a domain #[derive(Clap)] struct UnDefine {