소스 검색

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

dzp 2 년 전
부모
커밋
45f502c0b9
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  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}}
 };