commit | 9305d5a2ca817a065a1ded3734655d99cd717f2c | [log] [tgz] |
---|---|---|
author | Naoto Kaneko <naoty.k@gmail.com> | Wed Feb 15 03:20:02 2023 +0900 |
committer | GitHub <noreply@github.com> | Tue Feb 14 10:20:02 2023 -0800 |
tree | b9ff411f7211a30ba61d65ac8037a99eefdaf9f4 | |
parent | b08471e2fc6e01e3130e49d97de642edf0cf8381 [diff] |
Update README.md (#236) The `allowMultiple` option of `addOption` was no longer available, so this change will correct it to `addMultiOption`.
diff --git a/README.md b/README.md index 379893b..f3afdc8 100644 --- a/README.md +++ b/README.md
@@ -205,7 +205,7 @@ ```dart var parser = ArgParser(); -parser.addOption('mode', allowMultiple: true); +parser.addMultiOption('mode'); var results = parser.parse(['--mode', 'on,off']); print(results['mode']); // prints '[on, off]' ```