adjust help msg

This commit is contained in:
WindSoilder 2024-07-18 14:05:03 +08:00
parent eadaadf4f8
commit feb59d0b99
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ impl Command for Break {
r#"This command is a parser keyword. For details, check:
https://www.nushell.sh/book/thinking_in_nu.html
WARN: break should be used only in `while`, `loop`, `for`"#
break can only be used in while, loop, and for loops. It can not be used with each or other filter commands"#
}
fn command_type(&self) -> CommandType {

View File

@ -23,7 +23,7 @@ impl Command for Continue {
r#"This command is a parser keyword. For details, check:
https://www.nushell.sh/book/thinking_in_nu.html
WARN: continue should be only used in `while`, `loop`, `for`"#
continue can only be used in while, loop, and for loops. It can not be used with each or other filter commands"#
}
fn command_type(&self) -> CommandType {