removed 'no sessions' text from list command with quiet flag set

This commit is contained in:
Valerie Wolfe 2024-09-24 14:08:19 -04:00
parent d3a408ad33
commit 4f76590930

View file

@ -131,7 +131,7 @@ pub fn list(state: &mut State) {
// handle empty case
if sessions.len() == 0 {
println!("no sessions");
if !state.flags.quiet { println!("no sessions"); }
return;
}