mirror of
https://github.com/chubin/wttr.in
synced 2025-01-25 18:24:59 +00:00
Add some details about combining options (#650)
This commit is contained in:
parent
d7afd94c31
commit
3927f6467b
1 changed files with 7 additions and 0 deletions
|
@ -80,6 +80,13 @@ You can override this behavior by adding `?u` or `?m` to a URL like this:
|
|||
$ curl wttr.in/Amsterdam?u
|
||||
$ curl wttr.in/Amsterdam?m
|
||||
|
||||
If you have several options to pass, write them without delimiters in between for the one-letter options,
|
||||
and use `&` as a delimiter for the options with values:
|
||||
|
||||
$ curl 'wttr.in/Amsterdam?2m&lang=nl`
|
||||
|
||||
It would be a rough equivalent of `-m2 --lang nl` for the GNU CLI syntax.
|
||||
|
||||
## Supported output formats and views
|
||||
|
||||
wttr.in currently supports five output formats:
|
||||
|
|
Loading…
Reference in a new issue