commit | 5baa1c54219d3e42a1cb80e19c472ad9d1ddc207 | [log] [tgz] |
---|---|---|
author | José Luis Cruz <joseluis@users.noreply.github.com> | Sun Feb 28 20:30:53 2016 +0100 |
committer | José Luis Cruz <joseluis@users.noreply.github.com> | Sun Feb 28 20:30:53 2016 +0100 |
tree | 4a8051a4306a94ce10b69093a35f783bb5f2e591 | |
parent | 91a1ca9c96ae1798e04cc406f3e28881d8faf755 [diff] |
replace deprecated getUsage() method
diff --git a/README.md b/README.md index 764e008..9e3b3ca 100644 --- a/README.md +++ b/README.md
@@ -363,10 +363,10 @@ }); ``` -To display the help, use the [getUsage()][getUsage] method: +To display the help, use the [usage][usage] getter: ```dart -print(parser.getUsage()); +print(parser.usage); ``` The resulting string looks something like this: