Explorar o código

feat(xtintin): 为 xtt.Stop 增加 Usage

dzp %!s(int64=2) %!d(string=hai) anos
pai
achega
45f502c0b9
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      plugins/lib/xtintin/cmds.tin

+ 5 - 0
plugins/lib/xtintin/cmds.tin

@@ -361,6 +361,11 @@ PaoTin++ © 2020~2023 的所有版权均由担子炮(dzp <danzipao@gmail.com>) 
 //    就可以继续机器运行了。
 // };
 #alias {xtt.Stop} {
+    #if { "%1" == "" } {
+        xtt.Usage xtt.Stop;
+        #return;
+    };
+
     #line oneshot #alias {%1} {halt; #echo {<119>任务已暂停,请输入 <139>%1 %s <119>继续运行。<299>} {%%0}}
 };