From 4f76590930d13fafaf20ed38a964eb99dff2cb8e Mon Sep 17 00:00:00 2001 From: Valerie Date: Tue, 24 Sep 2024 14:08:19 -0400 Subject: [PATCH] removed 'no sessions' text from list command with quiet flag set --- src/command/share.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/command/share.rs b/src/command/share.rs index 68ee838..15ce99c 100644 --- a/src/command/share.rs +++ b/src/command/share.rs @@ -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; }