summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorIllia Volochii <[email protected]>2018-05-01 12:02:44 +0300
committerIllia Volochii <[email protected]>2018-05-01 12:02:44 +0300
commitfa5fe315f85333e5e7dc0b2147cbe3aae3e4afce (patch)
treeb5c0c84d178952527b91d4ae8e654f1a5a0b8584 /README.md
parent488fd7e82ab39ded1347fa792b4243efbc9d4239 (diff)
Change format from JSON to CSV
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/README.md b/README.md
index 362f455..8980ba1 100644
--- a/README.md
+++ b/README.md
@@ -94,8 +94,7 @@ $ NUM_WORKERS=4 ./example
Workers: 4
```
-You should use a JSON array of strings (value will be converted if
-necessary) in the case of multiple values:
+You can provide multiple values using the CSV (RFC 4180) format:
```go
var args struct {
@@ -106,7 +105,7 @@ fmt.Println("Workers:", args.Workers)
```
```
-$ WORKERS='["1", "99"]' ./example
+$ WORKERS='1,99' ./example
Workers: [1 99]
```