diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-03-25 21:25:44 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-03-25 21:25:44 +0100 |
commit | 5a7cef0202631204485cbcb1e36671e4321a936f (patch) | |
tree | ff3d10ac71f9284f18be7c33939f3438071e15c4 /src/cadet/test_cadet.c | |
parent | 2ad934742422ecb63fe3fafdc8c73d067a9e2fb7 (diff) | |
download | gnunet-5a7cef0202631204485cbcb1e36671e4321a936f.tar.gz gnunet-5a7cef0202631204485cbcb1e36671e4321a936f.zip |
rename GNUNET_GETOPT functions to achieve better consistency
Diffstat (limited to 'src/cadet/test_cadet.c')
-rw-r--r-- | src/cadet/test_cadet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cadet/test_cadet.c b/src/cadet/test_cadet.c index 8963d97c9..72df2203c 100644 --- a/src/cadet/test_cadet.c +++ b/src/cadet/test_cadet.c | |||
@@ -959,13 +959,13 @@ main (int argc, char *argv[]) | |||
959 | const char *config_file; | 959 | const char *config_file; |
960 | char port_id[] = "test port"; | 960 | char port_id[] = "test port"; |
961 | struct GNUNET_GETOPT_CommandLineOption options[] = { | 961 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
962 | GNUNET_GETOPT_OPTION_SET_RELATIVE_TIME ('t', | 962 | GNUNET_GETOPT_option_relative_time ('t', |
963 | "time", | 963 | "time", |
964 | "short_time", | 964 | "short_time", |
965 | gettext_noop ("set short timeout"), | 965 | gettext_noop ("set short timeout"), |
966 | &short_time), | 966 | &short_time), |
967 | 967 | ||
968 | GNUNET_GETOPT_OPTION_SET_UINT ('m', | 968 | GNUNET_GETOPT_option_uint ('m', |
969 | "messages", | 969 | "messages", |
970 | "NUM_MESSAGES", | 970 | "NUM_MESSAGES", |
971 | gettext_noop ("set number of messages to send"), | 971 | gettext_noop ("set number of messages to send"), |