Added cql2rpn as allowed querytype
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 18 Sep 2008 22:54:24 +0000 (00:54 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 18 Sep 2008 22:54:24 +0000 (00:54 +0200)
client/tabcomplete.c

index 7bd6eca..283b90b 100644 (file)
@@ -102,7 +102,7 @@ const char** build_list_for_oclass(oid_class oclass)
 
 char* complete_querytype(const char *text, int state)
 {
 
 char* complete_querytype(const char *text, int state)
 {
-    static const char* querytypes[] = {"ccl2rpn","prefix","cclrpn","ccl","cql", 0};
+    static const char* querytypes[] = {"ccl2rpn","prefix","cclrpn","ccl","cql", "cql2rpn", 0};
     return complete_from_list(querytypes,text,state);  
 }
 
     return complete_from_list(querytypes,text,state);  
 }