Skip to content

Commit 65577f5

Browse files
authored
Update README.md
1 parent 79db9ae commit 65577f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The following features are supported:
1212
- Single dash and double dash options (`-d` OR `--date`)
1313
- Boolean options (`-p` without a value)
1414
- Compounded options (`-dpi` translates to `-d`, `-p` and `-i`)
15-
- Multiple options exported in arrays (`--date foo1 -d foo2 --date foo3` exports to `"foo1", "foo2", etc`)
15+
- Multiple options exported in arrays (`--date foo1 -d foo2 --date foo3` exports to `"foo1", "foo2", "foo3", etc`)
1616
- Catch-all Method
1717
- Custom Methods
1818
- Parsed options are exported into `EXPORTS`
@@ -61,7 +61,7 @@ This is where you will configure the script options/flags. This is provided by a
6161

6262
**Options Format:**
6363

64-
The `SCRIPT_OPTS` is an array who's keys are as follows: `<regex>:<varname>`
64+
The `SCRIPT_OPTS` is an array who's values are as follows: `<regex>:<varname>`
6565

6666
The first part before the colon is a standard Regex to match against the given options, i.e. `(-d|--date)` will match either `-d` or `--date` — you can append as many patterns as you want using the OR operator `|`.
6767

0 commit comments

Comments
 (0)