From 32fdbb1eae5200b028d12c37e298c13f08ce4454 Mon Sep 17 00:00:00 2001 From: EasiestSoft Date: Thu, 19 Dec 2019 12:14:21 +0800 Subject: [PATCH] Fixed typos, occurence to occurrence, seach to search --- src/app.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app.rs b/src/app.rs index 4c11a1f..f42ac8c 100644 --- a/src/app.rs +++ b/src/app.rs @@ -306,7 +306,7 @@ fn usage() -> HashMap<&'static str, Help> { , "Perform a glob-based search instead of a regular expression search."); doc!(h, "regex" , "Perform a regex-based search" - , "Perform a regular-expression based seach (default). This can be used to override --glob."); + , "Perform a regular-expression based search (default). This can be used to override --glob."); doc!(h, "fixed-strings" , "Treat the pattern as a literal string" , "Treat the pattern as a literal string instead of a regular expression."); @@ -365,7 +365,7 @@ fn usage() -> HashMap<&'static str, Help> { , "Execute a command with all search results at once.\n\ All arguments following --exec-batch are taken to be arguments to the command until the \ argument ';' is encountered.\n\ - A single occurence of the following placeholders is authorized and substituted by the paths derived from the \ + A single occurrence of the following placeholders is authorized and substituted by the paths derived from the \ search results before the command is executed:\n \ '{}': path\n \ '{/}': basename\n \