OSDN Git Service

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

jTsSplitter/trunk/src/jtssplitter/Main.java

index 179b2c3..9df4985 100644 (file)
@@ -33,7 +33,7 @@ public class Main {
             if (args.length > 2) {
                 ch = Integer.parseInt(args[2].trim(), 10);
             }
-            if (args[0].toUpperCase().equals("-CH")){
+            if (args[0].trim().toUpperCase().equals("-ch".toUpperCase())){
                 Chlist chl=new Chlist();
                 chl.writeCHList(args[1], args[2]);
                 System.exit(0);