From 109a0b90d40f56a1afd4feb2b320da0116717dd7 Mon Sep 17 00:00:00 2001 From: "andy.boot" Date: Sun, 2 Jan 2022 18:07:51 +0000 Subject: [PATCH] Update help text: number_of_lines Remove note about 'height' and '-h being help' because it confused people. Add text to explain default height is terminal height - 10 https://github.com/bootandy/dust/issues/201 --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 55b04ba..d3af480 100644 --- a/src/main.rs +++ b/src/main.rs @@ -120,7 +120,7 @@ fn main() { Arg::with_name("number_of_lines") .short("n") .long("number-of-lines") - .help("Number of lines of output to show. This is Height, (but h is help)") + .help("Number of lines of output to show. (Default is terminal_height - 10)") .takes_value(true) .default_value(def_num_str.as_ref()), )