Merge branch 'master' of https://git.cscherr.de/PlexSheep/rs-basic
cargo devel CI / cargo CI (push) Successful in 3m16s
Details
cargo devel CI / cargo CI (push) Successful in 3m16s
Details
This commit is contained in:
commit
c2ec251cdb
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue