add grep as synonym to search
This commit is contained in:
parent
8effb91413
commit
2830d64699
@ -179,7 +179,7 @@ func main() {
|
|||||||
// takes url to a torrent to add it
|
// takes url to a torrent to add it
|
||||||
go add(&update, tokens[1:])
|
go add(&update, tokens[1:])
|
||||||
|
|
||||||
case "search", "/search":
|
case "search", "/search", "grep", "/grep":
|
||||||
// search for a torrent
|
// search for a torrent
|
||||||
go search(&update, tokens[1:])
|
go search(&update, tokens[1:])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user