mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 14:40:06 +02:00
committed by
GitHub
parent
f0a073b397
commit
e810995cf8
@ -22,7 +22,7 @@ impl Command for LazyJoin {
|
||||
.required("right_on", SyntaxShape::Any, "Right column(s) to join on")
|
||||
.switch(
|
||||
"inner",
|
||||
"inner joing between lazyframes (default)",
|
||||
"inner join between lazyframes (default)",
|
||||
Some('i'),
|
||||
)
|
||||
.switch("left", "left join between lazyframes", Some('l'))
|
||||
|
@ -128,7 +128,7 @@ impl Command for InputList {
|
||||
// ..Default::default()
|
||||
// };
|
||||
|
||||
let ans: InteractMode = if multi {
|
||||
let answer: InteractMode = if multi {
|
||||
let multi_select = MultiSelect::new(); //::with_theme(&theme);
|
||||
|
||||
InteractMode::Multi(
|
||||
@ -179,7 +179,7 @@ impl Command for InputList {
|
||||
)
|
||||
};
|
||||
|
||||
Ok(match ans {
|
||||
Ok(match answer {
|
||||
InteractMode::Multi(res) => {
|
||||
if index {
|
||||
match res {
|
||||
|
@ -66,7 +66,7 @@ fn main() {
|
||||
println!("first: {}", array.first().unwrap());
|
||||
|
||||
// Add a value
|
||||
array.push(Value::String("tak".to_string()));
|
||||
array.push(Value::String("baz".to_string()));
|
||||
}
|
||||
|
||||
// Encode to Hjson
|
||||
@ -76,4 +76,4 @@ fn main() {
|
||||
```
|
||||
# DOCS
|
||||
|
||||
At the moment, the documentation on [serde_hjson](https://docs.rs/serde-hjson/0.9.1/serde_hjson/) / [serde_json](https://docs.rs/serde_json/1.0.93/serde_json/) is also relevant for nu-json.
|
||||
At the moment, the documentation on [serde_hjson](https://docs.rs/serde-hjson/0.9.1/serde_hjson/) / [serde_json](https://docs.rs/serde_json/1.0.93/serde_json/) is also relevant for nu-json.
|
||||
|
@ -473,7 +473,7 @@ pub enum ShellError {
|
||||
span: Span,
|
||||
},
|
||||
|
||||
/// An error happened while tryin to create a range.
|
||||
/// An error happened while trying to create a range.
|
||||
///
|
||||
/// This can happen in various unexpected situations, for example if the range would loop forever (as would be the case with a 0-increment).
|
||||
///
|
||||
|
Reference in New Issue
Block a user