From 3927f6467b53aa5777be671f60af4dab2c9799fa Mon Sep 17 00:00:00 2001 From: Igor Chubin Date: Sat, 30 Oct 2021 19:09:29 +0200 Subject: [PATCH] Add some details about combining options (#650) --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index fdc7f1b..a416831 100644 --- a/README.md +++ b/README.md @@ -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: