OSDN Git Service

add chlist output option.
authorgn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Fri, 29 Oct 2010 13:09:48 +0000 (13:09 +0000)
committergn64_jp <gn64_jp@4e526526-5e11-4fc0-8910-f8fd03428081>
Fri, 29 Oct 2010 13:09:48 +0000 (13:09 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@709 4e526526-5e11-4fc0-8910-f8fd03428081

jTsSplitter/trunk/src/jtssplitter/Main.java

index e152b93..179b2c3 100644 (file)
@@ -25,7 +25,7 @@ public class Main {
         inf = "";
         outf = "";
         for (int i = 0; i < args.length; i++) {
-            System.out.println(args[i]);
+            System.out.println(((Integer)i).toString()+":"+args[i]);
         }
         if (args.length > 1) {
             inf = args[0];
@@ -35,7 +35,7 @@ public class Main {
             }
             if (args[0].toUpperCase().equals("-CH")){
                 Chlist chl=new Chlist();
-                chl.writeCHList(args[1], args[3]);
+                chl.writeCHList(args[1], args[2]);
                 System.exit(0);
             }
         }