add grep as synonym to search

This commit is contained in:
pyed 2016-07-03 06:42:31 +03:00
parent 8effb91413
commit 2830d64699

View File

@ -179,7 +179,7 @@ func main() {
// takes url to a torrent to add it
go add(&update, tokens[1:])
case "search", "/search":
case "search", "/search", "grep", "/grep":
// search for a torrent
go search(&update, tokens[1:])