summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCyril Plisko <cyril.plisko@mountall.com>2017-07-09 09:49:11 +0300
committerCyril Plisko <cyril.plisko@mountall.com>2017-07-09 09:49:11 +0300
commit97dd6487479302331dbaf97dc460ab5de6e735fe (patch)
tree7256b58ed6c1c7a1461e03186bad5c58f073b20b
parent798decbf7470673296d14171dad42af76fa08905 (diff)
Update README.md to use Pager::with_env()
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index dd19f3b..03728ca 100644
--- a/README.md
+++ b/README.md
@@ -35,7 +35,7 @@ extern crate pager;
use pager::Pager;
fn main() {
- Pager::env("MY_PAGER").setup();
+ Pager::with_env("MY_PAGER").setup();
// The rest of your program goes here
}
```