mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 13:26:01 +02:00
♻️ rework some help strings (#12306)
# Description I changed some help outputs:   I also checked with `rg` the commands deprecated in #9840 and found a help or a comment here and there. # User-Facing Changes same of above # Tests + Formatting
This commit is contained in:
@ -116,7 +116,7 @@ You can also learn more at https://www.nushell.sh/book/"#;
|
||||
},
|
||||
Example {
|
||||
description: "show help for single sub-command, alias, or module",
|
||||
example: "help str lpad",
|
||||
example: "help str join",
|
||||
result: None,
|
||||
},
|
||||
Example {
|
||||
|
@ -233,7 +233,7 @@ fn usage_start_uppercase() {
|
||||
|
||||
// Check lowercase to allow usage to contain syntax like:
|
||||
//
|
||||
// "`let-env FOO = ...` …"
|
||||
// "`$env.FOO = ...`"
|
||||
if usage.starts_with(|u: char| u.is_lowercase()) {
|
||||
failures.push(format!("{cmd_name}: \"{usage}\""));
|
||||
}
|
||||
|
Reference in New Issue
Block a user