diff --git a/Cargo.lock b/Cargo.lock index bf42cba..1dd6629 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1459,7 +1459,7 @@ checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" [[package]] name = "smfs" -version = "0.0.3" +version = "0.0.5" dependencies = [ "anyhow", "clap", @@ -1476,7 +1476,7 @@ dependencies = [ [[package]] name = "smfs-core" -version = "0.0.3" +version = "0.0.5" dependencies = [ "anyhow", "async-trait", diff --git a/Cargo.toml b/Cargo.toml index 8e71932..8585cb7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ members = [ ] [workspace.package] -version = "0.0.3" +version = "0.0.5" edition = "2021" rust-version = "1.80" license = "MIT" diff --git a/crates/smfs/src/cmd/grep.rs b/crates/smfs/src/cmd/grep.rs index a3e47ad..c6b0153 100644 --- a/crates/smfs/src/cmd/grep.rs +++ b/crates/smfs/src/cmd/grep.rs @@ -230,6 +230,10 @@ pub async fn run(args: Args) -> Result<()> { eprintln!("# searches by meaning across files in this container. usage:"); eprintln!("# grep \"natural language query\" search all files"); eprintln!("# grep \"query\" path/to/dir/ search within directory"); + eprintln!("# output: :-:"); + eprintln!( + "# chunk text is verbatim from the file. extract by the line range. never read or cat whole files." + ); eprintln!(); let mut file_cache: HashMap> = HashMap::new();