diff --git a/Cargo.lock b/Cargo.lock index a5fb3050..f9ca0d97 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -738,7 +738,7 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "hl" -version = "0.27.0-beta.4.1" +version = "0.27.0-beta.4.2" dependencies = [ "atoi", "bincode", diff --git a/Cargo.toml b/Cargo.toml index a49ad001..84f7e81d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ categories = ["command-line-utilities"] description = "Utility for viewing json-formatted log files." keywords = ["cli", "human", "log"] name = "hl" -version = "0.27.0-beta.4.1" +version = "0.27.0-beta.4.2" edition = "2021" build = "build.rs" diff --git a/README.md b/README.md index c965081c..6ffa72a4 100644 --- a/README.md +++ b/README.md @@ -461,7 +461,7 @@ Options: -C, --concurrency Number of processing threads [env: HL_CONCURRENCY=] -f, --filter Filtering by field values in one of forms [k=v, k~=v, k~~=v, 'k!=v', 'k!~=v', 'k!~~=v'] where ~ does substring match and ~~ does regular expression match -q, --query Custom query, accepts expressions from --filter and supports '(', ')', 'and', 'or', 'not', 'in', 'contain', 'like', '<', '>', '<=', '>=', etc - -h, --hide Hide or unhide fields with the specified keys, prefix with ! to unhide, specify !* to unhide all + -h, --hide Hide or reveal fields with the specified keys, prefix with ! to reveal, specify '!*' to reveal all -l, --level Filtering by level [env: HL_LEVEL=] --since Filtering by timestamp >= the value (--time-zone and --local options are honored) --until Filtering by timestamp <= the value (--time-zone and --local options are honored) diff --git a/src/main.rs b/src/main.rs index 9eb7a54f..8fac2950 100644 --- a/src/main.rs +++ b/src/main.rs @@ -114,7 +114,7 @@ struct Opt { #[arg(short, long, number_of_values = 1)] query: Vec, // - /// Hide or unhide fields with the specified keys, prefix with ! to unhide, specify !* to unhide all. + /// Hide or reveal fields with the specified keys, prefix with ! to reveal, specify '!*' to reveal all. #[arg(long, short = 'h', number_of_values = 1)] hide: Vec, //