gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: CORE: Output text when no argument is gi


From: gnunet
Subject: [gnunet] branch master updated: CORE: Output text when no argument is given.
Date: Sat, 09 Mar 2024 16:51:26 +0100

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 96ba8e4c2 CORE: Output text when no argument is given.
96ba8e4c2 is described below

commit 96ba8e4c246fbcb977274954daed7724cbd22a32
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Sat Mar 9 16:51:00 2024 +0100

    CORE: Output text when no argument is given.
---
 src/cli/core/gnunet-core.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/cli/core/gnunet-core.c b/src/cli/core/gnunet-core.c
index 9d6eccb81..d351a2f7f 100644
--- a/src/cli/core/gnunet-core.c
+++ b/src/cli/core/gnunet-core.c
@@ -207,6 +207,11 @@ run (void *cls,
       return;
     }
   }
+  if (! show_pid && ! show_conns && ! monitor_connections)
+  {
+    fprintf (stderr, "%s", _ ("No argument given.\n"));
+    return;
+  }
   GNUNET_SCHEDULER_add_shutdown (&shutdown_task, NULL);
 }
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]