mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
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:
+1
-1
@@ -120,7 +120,7 @@ fn main() {
|
|||||||
Arg::with_name("number_of_lines")
|
Arg::with_name("number_of_lines")
|
||||||
.short("n")
|
.short("n")
|
||||||
.long("number-of-lines")
|
.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)
|
.takes_value(true)
|
||||||
.default_value(def_num_str.as_ref()),
|
.default_value(def_num_str.as_ref()),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user