Mercurial > hg > Members > anatofuz > ie-virsh
changeset 25:da27437a94b0
Merge remote-tracking branch 'self/master'
author | AnaTofuZ <anatofuz@gmail.com> |
---|---|
date | Tue, 03 Nov 2020 18:38:03 +0900 |
parents | e8ba0f63c227 (current diff) 0ee235caebc5 (diff) |
children | afec42bdd5ab |
files | src/command.rs src/main.rs src/xml.rs |
diffstat | 3 files changed, 4 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/command.rs Tue Nov 03 18:37:04 2020 +0900 +++ b/src/command.rs Tue Nov 03 18:38:03 2020 +0900 @@ -101,4 +101,4 @@ return vm_name.to_string(); } format!("{}-{}", user_name, vm_name) -} \ No newline at end of file +}
--- a/src/main.rs Tue Nov 03 18:37:04 2020 +0900 +++ b/src/main.rs Tue Nov 03 18:38:03 2020 +0900 @@ -18,7 +18,7 @@ Console(Console), Start(Start), Ttyconsole(TTyconsole), - VNCDisplay(VNCDisplay), + Vncdisplay(Vncdisplay), Dumpxml(Dumpxml), DefineGDB(DefineGDB), Domiflist(Domiflist), @@ -45,7 +45,7 @@ /// vncdisplay #[derive(Clap)] -struct VNCDisplay { +struct Vncdisplay { name: String, } @@ -145,7 +145,7 @@ command::destroy(&user_name, arg.name); } - SubCommand::VNCDisplay(arg) => { + SubCommand::Vncdisplay(arg) => { user::set_root_id(); command::vncdisplay(&user_name, arg.name); }