diff --git a/crates/nu-command/src/core_commands/help_operators.rs b/crates/nu-command/src/core_commands/help_operators.rs index fcbbeeabd..7bda51e20 100644 --- a/crates/nu-command/src/core_commands/help_operators.rs +++ b/crates/nu-command/src/core_commands/help_operators.rs @@ -312,6 +312,24 @@ fn generate_operator_info() -> Vec { description: "Checks if one value is true and the other is false.".into(), precedence: 45, }, + OperatorInfo { + op_type: "Pipeline".into(), + operator: "&&".into(), + name: "PipelineAnd".into(), + description: + "Runs the pipeline on the left and, if successful, runs pipeline on the right." + .into(), + precedence: 0, + }, + OperatorInfo { + op_type: "Pipeline".into(), + operator: "||".into(), + name: "PipelineOr".into(), + description: + "Runs the pipeline on the left and, if it failed, runs pipeline on the right." + .into(), + precedence: 0, + }, ] }