|
@ -25,6 +25,9 @@ fn main() -> Result<()> { |
|
|
Err(ShellError::EmptyLine) => {
|
|
|
Err(ShellError::EmptyLine) => {
|
|
|
continue;
|
|
|
continue;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
Err(ShellError::Exit) => {
|
|
|
|
|
|
break;
|
|
|
|
|
|
}
|
|
|
Err(ShellError::NotFound(cmd)) => {
|
|
|
Err(ShellError::NotFound(cmd)) => {
|
|
|
println!("{}: command not found", cmd.get_program().to_string_lossy())
|
|
|
println!("{}: command not found", cmd.get_program().to_string_lossy())
|
|
|
}
|
|
|
}
|
|
|