From 84e5a1f91517565f9da6078527fec00f753ab379 Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 6 Sep 2020 16:01:33 +0200 Subject: Indicate days to access blocks --- src/main.rs | 88 +++++++++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 68 insertions(+), 20 deletions(-) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index c1a79d0..ccfb81e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -22,13 +22,22 @@ type HttpClient = Client; struct Opt { #[structopt(short, long)] config: String, + + #[structopt(short, long, default_value = "127.0.0.1:8200")] + address: SocketAddr, } #[derive(Debug, Deserialize, StaticType, Clone)] struct Access { + times: Vec