summaryrefslogtreecommitdiffstats
path: root/src/if_cscope.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-08-25 02:35:59 +0000
committerBram Moolenaar <Bram@vim.org>2008-08-25 02:35:59 +0000
commit627943d3c3e101e0ce012a8426d1e086abb1e482 (patch)
tree6c5d651454d22cba1c1d2f6e574de2b9fe651eea /src/if_cscope.c
parent6949d1ddc60cfbe61bed3c57d20ee133767c58a6 (diff)
updated for version 7.2-004v7.2.004
Diffstat (limited to 'src/if_cscope.c')
-rw-r--r--src/if_cscope.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/if_cscope.c b/src/if_cscope.c
index 600fcb0a37..4dff11631e 100644
--- a/src/if_cscope.c
+++ b/src/if_cscope.c
@@ -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++;
}