From: Christian Grothoff Date: Mon, 5 Apr 2010 13:48:30 +0000 (+0000) Subject: warn about bad option combinations X-Git-Tag: initial-import-from-subversion-38251~22274 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2b5542569ff904ad595b40aa150823bfbd7bf39b;p=oweals%2Fgnunet.git warn about bad option combinations --- diff --git a/src/fs/gnunet-pseudonym.c b/src/fs/gnunet-pseudonym.c index 93b51817d..f585cf6cc 100644 --- a/src/fs/gnunet-pseudonym.c +++ b/src/fs/gnunet-pseudonym.c @@ -307,8 +307,21 @@ run (void *cls, NULL); return; } + else + { + if (ksk_uri != NULL) + fprintf (stderr, _("Option `%s' ignored\n"), "-k"); + } } } + else + { + if (root_identifier != NULL) + fprintf (stderr, _("Option `%s' ignored\n"), "-r"); + if (ksk_uri != NULL) + fprintf (stderr, _("Option `%s' ignored\n"), "-k"); + } + post_advertising (NULL, NULL, NULL); }