projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4343e78
)
warn about bad option combinations
author
Christian Grothoff
<christian@grothoff.org>
Mon, 5 Apr 2010 13:48:30 +0000
(13:48 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Mon, 5 Apr 2010 13:48:30 +0000
(13:48 +0000)
src/fs/gnunet-pseudonym.c
patch
|
blob
|
history
diff --git
a/src/fs/gnunet-pseudonym.c
b/src/fs/gnunet-pseudonym.c
index 93b51817d142fda0de3d531575ebf4159de2f4e0..f585cf6ccd63a0fecc88a5bd819a96dad4b6dfd1 100644
(file)
--- 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);
}