diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-04-05 13:48:30 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-04-05 13:48:30 +0000 |
commit | 2b5542569ff904ad595b40aa150823bfbd7bf39b (patch) | |
tree | 7058b81f11891b40452443d565f6594b923bb0be | |
parent | 4343e7825800e0155f03cb9ad52e77804c6e8980 (diff) |
warn about bad option combinations
-rw-r--r-- | src/fs/gnunet-pseudonym.c | 13 |
1 files changed, 13 insertions, 0 deletions
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); } |