aboutsummaryrefslogtreecommitdiff
path: root/src/garage/main.rs
diff options
context:
space:
mode:
authorTrinity Pointard <trinity.pointard@gmail.com>2021-03-26 22:36:23 +0100
committerTrinity Pointard <trinity.pointard@gmail.com>2021-04-06 05:26:48 +0200
commit653d3d588f912bcf86b24c456f23d6db0ca755d8 (patch)
tree4e8760533e72e5d55a955a50b561fb9f80ae19d7 /src/garage/main.rs
parenta74eccfd6e1cd438912800ea4f96a2f86d267d12 (diff)
downloadgarage-653d3d588f912bcf86b24c456f23d6db0ca755d8.tar.gz
garage-653d3d588f912bcf86b24c456f23d6db0ca755d8.zip
document garage crate
Diffstat (limited to 'src/garage/main.rs')
-rw-r--r--src/garage/main.rs4
1 files changed, 3 insertions, 1 deletions
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,