mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 08:23:24 +01:00
fixed syntax shape requirements for --quantiles option for polars summary (#12878)
Fix for #12730 All of the code expected a list of floats, but the syntax shape expected a table. Resolved by changing the syntax shape to list of floats. cc: @maxim-uvarov
This commit is contained in:
parent
06fe7d1e16
commit
6f3dbc97bb
@ -38,7 +38,7 @@ impl PluginCommand for Summary {
|
|||||||
)
|
)
|
||||||
.named(
|
.named(
|
||||||
"quantiles",
|
"quantiles",
|
||||||
SyntaxShape::Table(vec![]),
|
SyntaxShape::List(Box::new(SyntaxShape::Float)),
|
||||||
"provide optional quantiles",
|
"provide optional quantiles",
|
||||||
Some('q'),
|
Some('q'),
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user