Refine the help message of the binaries

This commit is contained in:
Kerollmops 2020-07-12 11:06:45 +02:00
parent f757df5dfd
commit 92c2b1dd2d
No known key found for this signature in database
GPG Key ID: 92ADA4E935E71FA4
3 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ pub fn simple_alphanumeric_tokens(string: &str) -> impl Iterator<Item = &str> {
}
#[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.

View File

@ -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.

View File

@ -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.