update test_phrase_lookup.cpp
authorPeng Wu <alexepico@gmail.com>
Tue, 2 Apr 2013 03:04:36 +0000 (11:04 +0800)
committerPeng Wu <alexepico@gmail.com>
Tue, 2 Apr 2013 03:04:36 +0000 (11:04 +0800)
tests/lookup/test_phrase_lookup.cpp

index b4ee19c..8746e76 100644 (file)
@@ -54,21 +54,8 @@ bool try_phrase_lookup(PhraseLookup * phrase_lookup,
 }
 
 int main(int argc, char * argv[]){
-    int i = 1;
 
     setlocale(LC_ALL, "");
-    /* deal with options. */
-    while ( i < argc ){
-        if ( strcmp ("--help", argv[i]) == 0 ){
-            print_help();
-            exit(0);
-        } else {
-            print_help();
-            exit(EINVAL);
-        }
-        ++i;
-    }
-
 
     /* init phrase table */
     FacadePhraseTable2 phrase_table;