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
This commit is contained in:
andy.boot
2022-01-02 18:07:51 +00:00
parent ab67c1a50e
commit 109a0b90d4
+1 -1
View File
@@ -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()),
)