mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-12-26 18:32:41 +03:00
f5a5c9cc37
As I've commented in #373, I think the description of the -f example should use the word "file" because it matches with the short option name. I've also updated the `fortune {{database}}` example to match this terminology, and reordered the examples in an order that I believe is more intuitive.
28 lines
387 B
Markdown
28 lines
387 B
Markdown
# fortune
|
|
|
|
> Print a random quotation (fortune-cookie style).
|
|
|
|
- Print a quotation:
|
|
|
|
`fortune`
|
|
|
|
- Print an offensive quotation:
|
|
|
|
`fortune -o`
|
|
|
|
- Print a long quotation:
|
|
|
|
`fortune -l`
|
|
|
|
- Print a short quotation:
|
|
|
|
`fortune -s`
|
|
|
|
- List the available quotation database files:
|
|
|
|
`fortune -f`
|
|
|
|
- Print a quotation from one of the database files listed by `fortune -f`:
|
|
|
|
`fortune {{filename}}`
|