Setting maximum records to 20 (testing)
[yaz-moved-to-github.git] / client / tabcomplete.c
index d9e6cb1..31c696e 100644 (file)
@@ -1,8 +1,6 @@
-/*
- * Copyright (C) 1995-2007, Index Data ApS
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2010 Index Data
  * See the file LICENSE for details.
- *
- * $Id: tabcomplete.c,v 1.19 2007-05-08 08:22:35 adam Exp $
  */
 
 #include <string.h>
@@ -104,7 +102,7 @@ const char** build_list_for_oclass(oid_class oclass)
 
 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);  
 }
 
@@ -147,6 +145,7 @@ char* complete_attributeset(const char* text, int state)
 /*
  * Local variables:
  * c-basic-offset: 4
+ * c-file-style: "Stroustrup"
  * indent-tabs-mode: nil
  * End:
  * vim: shiftwidth=4 tabstop=8 expandtab