change site find' to site locate' (to match what it does, and other

implementations) keep find as an alias


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6675 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1999-08-01 20:11:13 +00:00
parent 171075a07c
commit c599086c16

View File

@@ -106,7 +106,7 @@ static int yylex (void);
CONF ENC CONF ENC
KAUTH KLIST KDESTROY KRBTKFILE AFSLOG KAUTH KLIST KDESTROY KRBTKFILE AFSLOG
FIND URL LOCATE URL
LEXERR LEXERR
@@ -546,7 +546,8 @@ cmd
reply(500, "Command not implemented."); reply(500, "Command not implemented.");
#endif #endif
} }
| SITE SP FIND SP STRING CRLF check_login }
| SITE SP LOCATE SP STRING CRLF check_login
{ {
if($7 && $5 != NULL) if($7 && $5 != NULL)
find($5); find($5);
@@ -986,7 +987,8 @@ struct tab sitetab[] = {
{ "KRBTKFILE", KRBTKFILE, STR1, 1, "<sp> ticket-file" }, { "KRBTKFILE", KRBTKFILE, STR1, 1, "<sp> ticket-file" },
{ "AFSLOG", AFSLOG, OSTR, 1, "[<sp> cell]" }, { "AFSLOG", AFSLOG, OSTR, 1, "[<sp> cell]" },
{ "FIND", FIND, STR1, 1, "<sp> globexpr" }, { "LOCATE", LOCATE, STR1, 1, "<sp> globexpr" },
{ "FIND", LOCATE, STR1, 1, "<sp> globexpr" },
{ "URL", URL, ARGS, 1, "?" }, { "URL", URL, ARGS, 1, "?" },