From cba77083c382a02054c0c4d0830a8a64827c13d9 Mon Sep 17 00:00:00 2001
From: Jannis Harder <me@jix.one>
Date: Mon, 11 Mar 2024 16:35:03 +0100
Subject: [PATCH] Print a message when SBY is waiting for a config on stdin

---
 sbysrc/sby.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sbysrc/sby.py b/sbysrc/sby.py
index e781d6d..c21ab0b 100644
--- a/sbysrc/sby.py
+++ b/sbysrc/sby.py
@@ -297,6 +297,8 @@ def read_sbyconfig(sbydata, taskname):
 
 
 sbydata = list()
+if sbyfile is None:
+    print("Reading .sby configuration from stdin:")
 with (open(sbyfile, "r") if sbyfile is not None else sys.stdin) as f:
     for line in f:
         sbydata.append(line)