mirror of
https://github.com/lsd-rs/lsd
synced 2024-12-14 06:02:36 +00:00
Update --depth help messages
Co-Authored-By: jorpic <jorpic@gmail.com>
This commit is contained in:
parent
c74b5d619e
commit
92af678167
2 changed files with 2 additions and 2 deletions
|
@ -72,7 +72,7 @@ pub fn build() -> App<'static, 'static> {
|
|||
Arg::with_name("depth")
|
||||
.long("depth")
|
||||
.takes_value(true)
|
||||
.value_name("NUM")
|
||||
.value_name("num")
|
||||
.help("Stop recursing into directories after reaching specified depth"),
|
||||
)
|
||||
.arg(
|
||||
|
|
|
@ -40,7 +40,7 @@ impl Flags {
|
|||
Ok(val) => val,
|
||||
Err(_) => {
|
||||
return Err(Error::with_description(
|
||||
"The argument '--depth' requires a valid number",
|
||||
"The argument '--depth' requires a valid positive number",
|
||||
ErrorKind::ValueValidation,
|
||||
))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue