From 9ba69768ca65a6fc0a91c01ab68bd1c054951fa7 Mon Sep 17 00:00:00 2001 From: wangchuanjin Date: Thu, 28 Jul 2022 02:47:14 +0800 Subject: [PATCH] fix: change repo name --- Cargo.toml | 2 +- README.md | 2 +- src/main.rs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c6188dc..a57a97b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "aiwriteclicheck" +name = "rustsearch" version = "0.0.1" edition = "2021" diff --git a/README.md b/README.md index 86b34ca..52a3413 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ cargo run ## Command-line options ``` USAGE: - aiwriteclicheck [OPTIONS] + rust-search [OPTIONS] ARGS: The keywords you want to search for diff --git a/src/main.rs b/src/main.rs index 1630b11..4571f68 100644 --- a/src/main.rs +++ b/src/main.rs @@ -6,13 +6,13 @@ use std::{ use std::ffi::OsStr; use clap::{App, Arg}; -use aiwriteclicheck:: {get_directory_list, search_in_file}; +use rustsearch:: {get_directory_list, search_in_file}; fn main() -> Result<(), Error> { let version = env!("CARGO_PKG_VERSION"); let matches = App::new("rust-search") .version(version) - .author("ohmyide - https://github.com/ohmyide/aiwriter-cli-check") + .author("ohmyide - https://github.com/ohmyide/rust-search") .about("A Tiny, Static, Full-text Search with Rust") .arg( Arg::with_name("keyword")