From 92c2b1dd2dddf412b62f722a572b8c633539d18d Mon Sep 17 00:00:00 2001 From: Kerollmops Date: Sun, 12 Jul 2020 11:06:45 +0200 Subject: [PATCH] Refine the help message of the binaries --- src/bin/indexer.rs | 2 +- src/bin/search.rs | 2 +- src/bin/serve.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/indexer.rs b/src/bin/indexer.rs index e7e3e0fdc..c89e6e7ea 100644 --- a/src/bin/indexer.rs +++ b/src/bin/indexer.rs @@ -36,7 +36,7 @@ pub fn simple_alphanumeric_tokens(string: &str) -> impl Iterator { } #[derive(Debug, StructOpt)] -#[structopt(name = "mm-indexer", about = "The indexer side of the MMI project.")] +#[structopt(name = "milli-indexer", about = "The indexer binary of the milli project.")] struct Opt { /// The database path where the database is located. /// It is created if it doesn't already exist. diff --git a/src/bin/search.rs b/src/bin/search.rs index f7a939637..86abe752c 100644 --- a/src/bin/search.rs +++ b/src/bin/search.rs @@ -13,7 +13,7 @@ use structopt::StructOpt; static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc; #[derive(Debug, StructOpt)] -#[structopt(name = "mm-search", about = "The server side of the MMI project.")] +#[structopt(name = "milli-search", about = "A simple search binary for milli project.")] struct Opt { /// The database path where the database is located. /// It is created if it doesn't already exist. diff --git a/src/bin/serve.rs b/src/bin/serve.rs index 35a19e24a..2667ce668 100644 --- a/src/bin/serve.rs +++ b/src/bin/serve.rs @@ -17,7 +17,7 @@ use milli::{BEU32, Index}; static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc; #[derive(Debug, StructOpt)] -#[structopt(name = "mmi", about = "The server side of the mmi project.")] +#[structopt(name = "milli", about = "The server binary of the milli project.")] struct Opt { /// The database path where the LMDB database is located. /// It is created if it doesn't already exist.