commit dfbf1cd5043c6c02a4243e242607559b8f9db04c
parent cffa2ba1c501d6f045017d9e35cded25c76a4afc
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date: Sat, 12 Oct 2024 09:16:48 +0200
core(cli): Output hint how to quit monitoring
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/cli/core/gnunet-core.c b/src/cli/core/gnunet-core.c
@@ -225,6 +225,11 @@ run (void *cls,
GNUNET_i2s_full (&my_full_id));
if (show_conns || monitor_connections)
{
+ if (monitor_connections)
+ {
+ fprintf (stdout,
+ _ ("Monitoring connections. Press CTRL-C to quit.\n\n"));
+ }
mh = GNUNET_CORE_monitor_start (cfg, &monitor_cb, NULL);
if (NULL == mh)
{