]> granicus.if.org Git - vim/commitdiff
updated for version 7.2-004 v7.2.004
authorBram Moolenaar <Bram@vim.org>
Mon, 25 Aug 2008 02:35:59 +0000 (02:35 +0000)
committerBram Moolenaar <Bram@vim.org>
Mon, 25 Aug 2008 02:35:59 +0000 (02:35 +0000)
src/if_cscope.c
src/if_cscope.h
src/version.c

index 600fcb0a371fee68e85a7c7344ca6835abb7ce5f..4dff11631eab7df00c7821974c6c649bd1b21b0b 100644 (file)
@@ -74,7 +74,7 @@ static cscmd_T            cs_cmds[] =
     { "add",   cs_add,
                N_("Add a new database"),     "add file|dir [pre-path] [flags]", 0 },
     { "find",  cs_find,
-               N_("Query for a pattern"),    FIND_USAGE, 1 },
+               N_("Query for a pattern"),    "find c|d|e|f|g|i|s|t name", 1 },
     { "help",  cs_help,
                N_("Show this message"),      "help", 0 },
     { "kill",  cs_kill,
@@ -1180,7 +1180,16 @@ cs_help(eap)
        (void)smsg((char_u *)_("%-5s: %-30s (Usage: %s)"),
                                      cmdp->name, _(cmdp->help), cmdp->usage);
        if (strcmp(cmdp->name, "find") == 0)
-           MSG_PUTS(FIND_HELP);
+           MSG_PUTS(_("\n"
+                      "       c: Find functions calling this function\n"
+                      "       d: Find functions called by this function\n"
+                      "       e: Find this egrep pattern\n"
+                      "       f: Find this file\n"
+                      "       g: Find this definition\n"
+                      "       i: Find files #including this file\n"
+                      "       s: Find this C symbol\n"
+                      "       t: Find assignments to\n"));
+
        cmdp++;
     }
 
index 99d472b9c79c9933f714c8a5d85a2ac276d64d7e..89b69f7c72f0a53d746926449a806d7c1c18b923 100644 (file)
  * f 7name     Find this file
  * i 8name     Find files #including this file
  */
-#define        FIND_USAGE "find c|d|e|f|g|i|s|t name"
-#define FIND_HELP "\n\
-       c: Find functions calling this function\n\
-       d: Find functions called by this function\n\
-       e: Find this egrep pattern\n\
-       f: Find this file\n\
-       g: Find this definition\n\
-       i: Find files #including this file\n\
-       s: Find this C symbol\n\
-       t: Find assignments to\n"
-
 
 typedef struct {
     char *  name;
index ef68174afd669c371d477f5644c3dcefc5ebefbb..5ee09c7628a584b87aae19ee3d0a4af47fb9f6a4 100644 (file)
@@ -676,6 +676,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4,
 /**/
     3,
 /**/