Merge branch 'master' of https://git.cscherr.de/PlexSheep/rs-basic
cargo devel CI / cargo CI (push) Successful in 3m16s Details

This commit is contained in:
Christoph J. Scherr 2024-06-27 13:53:38 +02:00
commit c2ec251cdb
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ fn repl(conn: &mut SqliteConnection) -> anyhow::Result<()> {
loop { loop {
lib::read_buf_interactive(&mut buf)?; lib::read_buf_interactive(&mut buf)?;
buf = buf.to_uppercase(); buf = buf.to_uppercase();
if buf.starts_with("HELP") || buf.starts_with("?") { if buf.starts_with("HELP") || buf.starts_with('?') {
println!("{}", HELP_TEXT.bright_blue()) println!("{}", HELP_TEXT.bright_blue())
} else if buf.starts_with("EXIT") || buf.is_empty() { } else if buf.starts_with("EXIT") || buf.is_empty() {
break; break;