forked from extern/nushell
Fix command descriptions+examples (#5129)
* Fix exit usage * Move dfr as-date* format examples to extra_usage * Update command usage and examples * More docs on `str trim` Co-authored-by: sholderbach <sholderbach@users.noreply.github.com>
This commit is contained in:
@@ -26,7 +26,7 @@ impl Command for SubCommand {
|
||||
}
|
||||
|
||||
fn usage(&self) -> &str {
|
||||
"converts a string to camelCase"
|
||||
"Convert a string to camelCase"
|
||||
}
|
||||
|
||||
fn run(
|
||||
|
@@ -26,7 +26,7 @@ impl Command for SubCommand {
|
||||
}
|
||||
|
||||
fn usage(&self) -> &str {
|
||||
"converts a string to kebab-case"
|
||||
"Convert a string to kebab-case"
|
||||
}
|
||||
|
||||
fn run(
|
||||
|
@@ -26,7 +26,7 @@ impl Command for SubCommand {
|
||||
}
|
||||
|
||||
fn usage(&self) -> &str {
|
||||
"converts a string to PascalCase"
|
||||
"Convert a string to PascalCase"
|
||||
}
|
||||
|
||||
fn run(
|
||||
|
@@ -25,7 +25,7 @@ impl Command for SubCommand {
|
||||
}
|
||||
|
||||
fn usage(&self) -> &str {
|
||||
"converts a string to SCREAMING_SNAKE_CASE"
|
||||
"Convert a string to SCREAMING_SNAKE_CASE"
|
||||
}
|
||||
|
||||
fn run(
|
||||
|
@@ -24,7 +24,7 @@ impl Command for SubCommand {
|
||||
.category(Category::Strings)
|
||||
}
|
||||
fn usage(&self) -> &str {
|
||||
"converts a string to snake_case"
|
||||
"Convert a string to snake_case"
|
||||
}
|
||||
|
||||
fn run(
|
||||
|
Reference in New Issue
Block a user