1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-12 13:15:41 +02:00

surfraw: refresh page, sr: add alias page (#17564)

This commit is contained in:
Managor 2025-08-11 02:10:12 +03:00 committed by GitHub
parent e8ddc03a26
commit 3b64c98e3d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 5 deletions

7
pages/common/sr.md Normal file
View file

@ -0,0 +1,7 @@
# sr
> This command is an alias of `surfraw`.
- View documentation for the original command:
`tldr surfraw`

View file

@ -10,20 +10,20 @@
- Open the elvi's results page for a specific search in the browser:
`surfraw {{elvi}} "{{search_terms}}"`
`surfraw {{elvi_name}} "{{search_terms}}"`
- Display an elvi description and its specific options:
`surfraw {{elvi}} -local-help`
`surfraw {{elvi_name}} {{[-lh|-local-help]}}`
- Search using an elvi with specific options and open the results page in the browser:
`surfraw {{elvi}} {{elvi_options}} "{{search_terms}}"`
`surfraw {{elvi_name}} {{elvi_options}} "{{search_terms}}"`
- Display the URL to the elvi's results page for a specific search:
`surfraw -print {{elvi}} "{{search_terms}}"`
`surfraw -print {{elvi_name}} "{{search_terms}}"`
- Search using the alias:
`sr {{elvi}} "{{search_terms}}"`
`sr {{elvi_name}} "{{search_terms}}"`