diff options
| author | Illia Volochii <[email protected]> | 2018-05-01 12:02:44 +0300 |
|---|---|---|
| committer | Illia Volochii <[email protected]> | 2018-05-01 12:02:44 +0300 |
| commit | fa5fe315f85333e5e7dc0b2147cbe3aae3e4afce (patch) | |
| tree | b5c0c84d178952527b91d4ae8e654f1a5a0b8584 /README.md | |
| parent | 488fd7e82ab39ded1347fa792b4243efbc9d4239 (diff) | |
Change format from JSON to CSV
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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] ``` |
