From 5c4b2cec3cc1242886199ed6d9248fae0f922036 Mon Sep 17 00:00:00 2001 From: Trinity Pointard Date: Fri, 26 Mar 2021 22:36:23 +0100 Subject: document garage crate --- src/garage/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/garage/main.rs b/src/garage/main.rs index 6c86d0fb..34bf5501 100644 --- a/src/garage/main.rs +++ b/src/garage/main.rs @@ -1,4 +1,6 @@ +#![deny(missing_crate_level_docs, missing_docs)] #![recursion_limit = "1024"] +//! Garage CLI, used to interact with a running Garage instance, and to launch a Garage #[macro_use] extern crate log; @@ -25,7 +27,7 @@ use cli::*; #[derive(StructOpt, Debug)] #[structopt(name = "garage")] -pub struct Opt { +struct Opt { /// RPC connect to this host to execute client operations #[structopt(short = "h", long = "rpc-host", default_value = "127.0.0.1:3901")] pub rpc_host: SocketAddr, -- cgit v1.2.3