aboutsummaryrefslogtreecommitdiff
path: root/src/identity/gnunet-identity.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-25 21:25:44 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-25 21:25:44 +0100
commit5a7cef0202631204485cbcb1e36671e4321a936f (patch)
treeff3d10ac71f9284f18be7c33939f3438071e15c4 /src/identity/gnunet-identity.c
parent2ad934742422ecb63fe3fafdc8c73d067a9e2fb7 (diff)
downloadgnunet-5a7cef0202631204485cbcb1e36671e4321a936f.tar.gz
gnunet-5a7cef0202631204485cbcb1e36671e4321a936f.zip
rename GNUNET_GETOPT functions to achieve better consistency
Diffstat (limited to 'src/identity/gnunet-identity.c')
-rw-r--r--src/identity/gnunet-identity.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/identity/gnunet-identity.c b/src/identity/gnunet-identity.c
index 5c457ef5d..9b66a1bc7 100644
--- a/src/identity/gnunet-identity.c
+++ b/src/identity/gnunet-identity.c
@@ -350,35 +350,35 @@ int
350main (int argc, char *const *argv) 350main (int argc, char *const *argv)
351{ 351{
352 struct GNUNET_GETOPT_CommandLineOption options[] = { 352 struct GNUNET_GETOPT_CommandLineOption options[] = {
353 GNUNET_GETOPT_OPTION_STRING ('C', 353 GNUNET_GETOPT_option_string ('C',
354 "create", 354 "create",
355 "NAME", 355 "NAME",
356 gettext_noop ("create ego NAME"), 356 gettext_noop ("create ego NAME"),
357 &create_ego), 357 &create_ego),
358 358
359 GNUNET_GETOPT_OPTION_STRING ('D', 359 GNUNET_GETOPT_option_string ('D',
360 "delete", 360 "delete",
361 "NAME", 361 "NAME",
362 gettext_noop ("delete ego NAME "), 362 gettext_noop ("delete ego NAME "),
363 &delete_ego), 363 &delete_ego),
364 364
365 GNUNET_GETOPT_OPTION_SET_ONE ('d', 365 GNUNET_GETOPT_option_flag ('d',
366 "display", 366 "display",
367 gettext_noop ("display all egos"), 367 gettext_noop ("display all egos"),
368 &list), 368 &list),
369 369
370 GNUNET_GETOPT_OPTION_STRING ('e', 370 GNUNET_GETOPT_option_string ('e',
371 "ego", 371 "ego",
372 "NAME", 372 "NAME",
373 gettext_noop ("set default identity to EGO for a subsystem SUBSYSTEM (use together with -s)"), 373 gettext_noop ("set default identity to EGO for a subsystem SUBSYSTEM (use together with -s)"),
374 &set_ego), 374 &set_ego),
375 375
376 GNUNET_GETOPT_OPTION_SET_ONE ('m', 376 GNUNET_GETOPT_option_flag ('m',
377 "monitor", 377 "monitor",
378 gettext_noop ("run in monitor mode egos"), 378 gettext_noop ("run in monitor mode egos"),
379 &monitor), 379 &monitor),
380 380
381 GNUNET_GETOPT_OPTION_STRING ('s', 381 GNUNET_GETOPT_option_string ('s',
382 "set", 382 "set",
383 "SUBSYSTEM", 383 "SUBSYSTEM",
384 gettext_noop ("set default identity to EGO for a subsystem SUBSYSTEM (use together with -e)"), 384 gettext_noop ("set default identity to EGO for a subsystem SUBSYSTEM (use together with -e)"),