Skip to content

Commit d71dbf5

Browse files
committed
update README.md
1 parent 4a638e8 commit d71dbf5

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

README.md

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,19 @@ Search for a book using the old website (default)
3232
clibgen search "Eloquent JavaScript"
3333
```
3434

35-
Search for a book using the newer website (this is useful if for some reason the old website is down or the mirrors are not working)
36-
`-s or -site` flag
35+
#### Search
3736

38-
```shell
39-
clibgen search -s "new" "Eloquent JavaScript"
40-
```
37+
Usage:
38+
` clibgen search [flags]`
4139

42-
```shell
43-
clibgen search -s "legacy" "Eloquent JavaScript"
44-
```
40+
Flags:
41+
- -f, --filter string search by [title, author, isbn] (default "title")
42+
- -h, --help help for search
43+
- -n, --number of results int number of result(s) to be displayed maximum: 25 (default 10)
44+
- -o, --output string Output directory (default "./")
45+
- -s, --site string which website to use [legacy, new] (default "legacy")
4546

46-
Limit search results (default: 10)
4747

48-
```shell
49-
clibgen search -n 5 "Eloquent JavaScript"
50-
```
5148

5249
### Found an issue?
5350

0 commit comments

Comments
 (0)