From aae76064886b73f5097b73db75ef0871b1d23a0f Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sun, 21 Jun 2015 13:59:08 +0100 Subject: Clarify missing-site error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- src/fingerchange.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fingerchange.py b/src/fingerchange.py index 952822f..65a2691 100755 --- a/src/fingerchange.py +++ b/src/fingerchange.py @@ -119,7 +119,8 @@ def handle_client(reader, writer): line = line.decode('utf-8').strip() if '@' not in line: - writer.write('Error: Username or site missing\n'.encode('utf-8')) + writer.write('finger: site missing\n'.encode('utf-8')) + writer.write('finger: expected \'user@site\'\n'.encode('utf-8')) writer.close() return -- cgit v1.2.3-70-g09d2