Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gwirn authored Mar 29, 2024
1 parent 7cebd2e commit d188cfe
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,14 @@ After running the commands above, on unix systems you can either do `mv golaf /u

## Usage

Basic search can be done with `golaf [PATTERN] [FILE | STDIN]`
Basic search can be done with `golaf [PATTERN] [FILE | STDIN]` to search in files or in stdin.

The search can also be performed reading from StdIn with e.g. `cat [FILE | STDIN] | golaf [PATTERN]`

In order to fuzzy find files or directories by their name but not their content `-type` has to be set to `n`.

To search trough all directories starting in a given directory use the `-recursive` argument (this can be used for file content and for file/directory search).

### Possible optional argument

```go
Expand Down

0 comments on commit d188cfe

Please sign in to comment.