소스 검색

Added a default parameter for the output file "stdout"

mingodad 13 년 전
부모
커밋
9af3f23ed6
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      ourbiz/fluid2SquiLu.nut

+ 3 - 3
ourbiz/fluid2SquiLu.nut

@@ -665,8 +665,8 @@ function Fluid2SquiLu(infile, outfile, config){
 }
 }
 
 
 if (vargv.len() > 0){ 
 if (vargv.len() > 0){ 
-	local rc = DecodeOption(arg);
-	local config = rc[0], infile = rc[1], outfile = rc[2]; 
+	local rc = DecodeOption(vargv);
+	local config = rc[0], infile = rc[1], outfile = rc.get(2, "-"); 
 	Fluid2SquiLu(infile, outfile, config);
 	Fluid2SquiLu(infile, outfile, config);
 }
 }
-Fluid2SquiLu("dadbiz-gui.fl", "-", {});
+//Fluid2SquiLu("dadbiz-gui.fl", "-", {});