Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Aug 24, 2011
1 parent 63baa69 commit 730e7a6
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion Readme.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


## Usage ## Usage


``` ```bash


Usage: search [options] <query> [path ...] Usage: search [options] <query> [path ...]


Expand All @@ -21,6 +21,30 @@ Options:


``` ```


## Examples

The given `<query>` is a case-insensitive regular express,
so the query may express simple words or phrases, as well
as ones like `foo(bar)?`.

```bash

$ search jade express/lib

express/lib/view.js
100: // Try _ prefix ex: ./views/_<name>.jade
107: // Try index ex: ./views/user/index.jade
110: // Try ../<name>/index ex: ../user/index.jade
114: // Try root ex: <root>/user.jade
117: // Try root _ prefix ex: <root>/_user.jade

express/lib/view/view.js
185: * files to jade:
187: * app.register('.html', require('jade'));
191: * app.register('html', require('jade'));

```

## License ## License


(The MIT License) (The MIT License)
Expand Down

0 comments on commit 730e7a6

Please sign in to comment.