mirror of
https://github.com/nushell/nushell.git
synced 2024-11-24 17:34:00 +01:00
Fix doc and code comment typos (#14366)
# User-Facing Changes * Fixes `polars value-counts --column` help text typo * Fixes `polars agg-groups` help text typo
This commit is contained in:
parent
029c586717
commit
6c36bd822c
@ -76,7 +76,7 @@ impl Command for External {
|
|||||||
// believe the user wants to use the windows association to run the script. The only
|
// believe the user wants to use the windows association to run the script. The only
|
||||||
// easy way to do this is to run cmd.exe with the script as an argument.
|
// easy way to do this is to run cmd.exe with the script as an argument.
|
||||||
let potential_nuscript_in_windows = if cfg!(windows) {
|
let potential_nuscript_in_windows = if cfg!(windows) {
|
||||||
// let's make sure it's a .nu scrtipt
|
// let's make sure it's a .nu script
|
||||||
if let Some(executable) = which(&expanded_name, "", cwd.as_ref()) {
|
if let Some(executable) = which(&expanded_name, "", cwd.as_ref()) {
|
||||||
let ext = executable
|
let ext = executable
|
||||||
.extension()
|
.extension()
|
||||||
|
@ -34,7 +34,7 @@ impl PluginCommand for ExprAggGroups {
|
|||||||
|
|
||||||
fn examples(&self) -> Vec<Example> {
|
fn examples(&self) -> Vec<Example> {
|
||||||
vec![Example {
|
vec![Example {
|
||||||
description: "Get the groiup index of the group by operations.",
|
description: "Get the group index of the group by operations.",
|
||||||
example: r#"[[group value]; [one 94] [one 95] [one 96] [two 97] [two 98] [two 99]]
|
example: r#"[[group value]; [one 94] [one 95] [one 96] [two 97] [two 98] [two 99]]
|
||||||
| polars into-df
|
| polars into-df
|
||||||
| polars group-by group
|
| polars group-by group
|
||||||
|
@ -28,7 +28,7 @@ impl PluginCommand for ValueCount {
|
|||||||
.named(
|
.named(
|
||||||
"column",
|
"column",
|
||||||
SyntaxShape::String,
|
SyntaxShape::String,
|
||||||
"Provide a custom name for the coutn column",
|
"Provide a custom name for the count column",
|
||||||
Some('c'),
|
Some('c'),
|
||||||
)
|
)
|
||||||
.switch("sort", "Whether or not values should be sorted", Some('s'))
|
.switch("sort", "Whether or not values should be sorted", Some('s'))
|
||||||
|
Loading…
Reference in New Issue
Block a user