Skip to content

Commit

Permalink
Fix doc and code comment typos (nushell#14366)
Browse files Browse the repository at this point in the history
# User-Facing Changes

* Fixes `polars value-counts --column` help text typo
* Fixes `polars agg-groups` help text typo
  • Loading branch information
Kissaki authored Nov 17, 2024
1 parent 029c586 commit 6c36bd8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/nu-command/src/system/run_external.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ impl Command for External {
// 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.
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()) {
let ext = executable
.extension()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ impl PluginCommand for ExprAggGroups {

fn examples(&self) -> 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]]
| polars into-df
| polars group-by group
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ impl PluginCommand for ValueCount {
.named(
"column",
SyntaxShape::String,
"Provide a custom name for the coutn column",
"Provide a custom name for the count column",
Some('c'),
)
.switch("sort", "Whether or not values should be sorted", Some('s'))
Expand Down

0 comments on commit 6c36bd8

Please sign in to comment.