From 15cc7c3214ed05eb635a72c81f375adfbf6fa52a Mon Sep 17 00:00:00 2001 From: David Florness Date: Sat, 7 Mar 2020 15:22:06 -0700 Subject: [PATCH] Support printing the election state in the bulletin repl --- bulletin.rkt | 1 + 1 file changed, 1 insertion(+) diff --git a/bulletin.rkt b/bulletin.rkt index 6ba9949..3249694 100644 --- a/bulletin.rkt +++ b/bulletin.rkt @@ -268,5 +268,6 @@ peer-uname)) (hash-remove! _peers token))) (displayln "close the election first"))] + ['state (displayln (symbol->string state))] [else (displayln "unknown command")]) (loop))))))) -- 2.38.4