aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorKevin Guthrie <[email protected]>2024-06-25 11:13:36 -0400
committerEdward Wang <[email protected]>2024-06-28 12:34:25 -0700
commitc67b5d0141af939827777c66e95fbb530ca14d33 (patch)
tree219f93af203e1fbc659f9dcd72d6a9b425a1e9ac /docs
parent86e6cd29121b8ae62e343ad73cd5cc7717b91126 (diff)
downloadpingora-c67b5d0141af939827777c66e95fbb530ca14d33.tar.gz
pingora-c67b5d0141af939827777c66e95fbb530ca14d33.zip
Add a replacement cli-parsing function for `Opt` that can be used in quickstart with no external dependencies
Diffstat (limited to 'docs')
-rw-r--r--docs/quick_start.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/quick_start.md b/docs/quick_start.md
index 5099f7e..8a3b796 100644
--- a/docs/quick_start.md
+++ b/docs/quick_start.md
@@ -237,7 +237,7 @@ take advantage of with single-line change.
```rust
fn main() {
- let mut my_server = Server::new(Some(Opt::default())).unwrap();
+ let mut my_server = Server::new(Some(Opt::parse_args())).unwrap();
...
}
```