diff src/main.rs @ 23:0ee235caebc5

tweak
author AnaTofuZ <k198584@ie.u-ryukyu.ac.jp>
date Tue, 03 Nov 2020 17:48:50 +0900
parents 78f246ce5235
children da27437a94b0
line wrap: on
line diff
--- a/src/main.rs	Tue Nov 03 17:44:19 2020 +0900
+++ b/src/main.rs	Tue Nov 03 17:48:50 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,
 }
 
@@ -140,7 +140,7 @@
             command::destroy(user_name, arg.name);
         }
 
-        SubCommand::VNCDisplay(arg) => {
+        SubCommand::Vncdisplay(arg) => {
             user::set_root_id();
             command::vncdisplay(user_name, arg.name);
         }