Add help warnings for path exists and path type regarding usage (#7062)

* Add help warnings to `path exists` and `path type`

* Correction
This commit is contained in:
Leon
2022-11-09 22:41:55 +10:00
committed by GitHub
parent 2b9f258126
commit cd89304706
3 changed files with 11 additions and 1 deletions

View File

@ -36,7 +36,7 @@ impl Command for SubCommand {
}
fn extra_usage(&self) -> &str {
"into duration does not take leap years into account and every month is calculated with 30 days"
"This command does not take leap years into account, and every month is assumed to have 30 days."
}
fn search_terms(&self) -> Vec<&str> {