[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet-gtk] branch master updated: update to latest GNUNET
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet-gtk] branch master updated: update to latest GNUNET_GETOPT API |
Date: |
Sat, 25 Mar 2017 21:25:26 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet-gtk.
The following commit(s) were added to refs/heads/master by this push:
new 087f8e16 update to latest GNUNET_GETOPT API
087f8e16 is described below
commit 087f8e166ee6d1fc59a6bd5d05f656528761ede7
Author: Christian Grothoff <address@hidden>
AuthorDate: Sat Mar 25 21:25:24 2017 +0100
update to latest GNUNET_GETOPT API
---
src/conversation/gnunet-conversation-gtk.c | 4 ++--
src/peerinfo/gnunet-peerinfo-gtk.c | 2 +-
src/setup/gnunet-setup.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/conversation/gnunet-conversation-gtk.c
b/src/conversation/gnunet-conversation-gtk.c
index b004abaa..eb4e295c 100644
--- a/src/conversation/gnunet-conversation-gtk.c
+++ b/src/conversation/gnunet-conversation-gtk.c
@@ -172,12 +172,12 @@ int
main (int argc, char *const *argv)
{
struct GNUNET_GETOPT_CommandLineOption options[] = {
- GNUNET_GETOPT_OPTION_SET_UINT ('p',
+ GNUNET_GETOPT_option_uint ('p',
"phone",
"LINE",
gettext_noop ("sets the LINE to use for the
phone"),
&line),
- GNUNET_GETOPT_OPTION_STRING ('e',
+ GNUNET_GETOPT_option_string ('e',
"ego",
"EGO",
gettext_noop ("select ego to use"),
diff --git a/src/peerinfo/gnunet-peerinfo-gtk.c
b/src/peerinfo/gnunet-peerinfo-gtk.c
index 951f7fc8..55153212 100644
--- a/src/peerinfo/gnunet-peerinfo-gtk.c
+++ b/src/peerinfo/gnunet-peerinfo-gtk.c
@@ -1549,7 +1549,7 @@ int
main (int argc, char **argv)
{
struct GNUNET_GETOPT_CommandLineOption options[] = {
- GNUNET_GETOPT_OPTION_SET_ONE ('s',
+ GNUNET_GETOPT_option_flag ('s',
"show-inactive",
gettext_noop ("show peers even if the are
inactive and we know nothing except their public key"),
&show_inactive),
diff --git a/src/setup/gnunet-setup.c b/src/setup/gnunet-setup.c
index 74bf2fe4..d60c3211 100644
--- a/src/setup/gnunet-setup.c
+++ b/src/setup/gnunet-setup.c
@@ -519,7 +519,7 @@ main (int argc, char *const *argv)
{
struct GNUNET_GETOPT_CommandLineOption options[] = {
#ifndef MINGW
- GNUNET_GETOPT_OPTION_SET_ONE ('e',
+ GNUNET_GETOPT_option_flag ('e',
"elevate-priviledges",
gettext_noop ("run as user 'gnunet', if
necessary by executing gksu to elevate rights"),
&do_gksu),
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet-gtk] branch master updated: update to latest GNUNET_GETOPT API,
gnunet <=