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/fs/gnunet-fs-profiler.c | |
parent | 2ad934742422ecb63fe3fafdc8c73d067a9e2fb7 (diff) | |
download | gnunet-5a7cef0202631204485cbcb1e36671e4321a936f.tar.gz gnunet-5a7cef0202631204485cbcb1e36671e4321a936f.zip |
rename GNUNET_GETOPT functions to achieve better consistency
Diffstat (limited to 'src/fs/gnunet-fs-profiler.c')
-rw-r--r-- | src/fs/gnunet-fs-profiler.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fs/gnunet-fs-profiler.c b/src/fs/gnunet-fs-profiler.c index fb99d8f90..ac9f6777f 100644 --- a/src/fs/gnunet-fs-profiler.c +++ b/src/fs/gnunet-fs-profiler.c | |||
@@ -205,19 +205,19 @@ main (int argc, char *const *argv) | |||
205 | { | 205 | { |
206 | struct GNUNET_GETOPT_CommandLineOption options[] = { | 206 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
207 | 207 | ||
208 | GNUNET_GETOPT_OPTION_SET_UINT ('n', | 208 | GNUNET_GETOPT_option_uint ('n', |
209 | "num-peers", | 209 | "num-peers", |
210 | "COUNT", | 210 | "COUNT", |
211 | gettext_noop ("run the experiment with COUNT peers"), | 211 | gettext_noop ("run the experiment with COUNT peers"), |
212 | &num_peers), | 212 | &num_peers), |
213 | 213 | ||
214 | GNUNET_GETOPT_OPTION_STRING ('H', | 214 | GNUNET_GETOPT_option_string ('H', |
215 | "hosts", | 215 | "hosts", |
216 | "HOSTFILE", | 216 | "HOSTFILE", |
217 | gettext_noop ("specifies name of a file with the HOSTS the testbed should use"), | 217 | gettext_noop ("specifies name of a file with the HOSTS the testbed should use"), |
218 | &host_filename), | 218 | &host_filename), |
219 | 219 | ||
220 | GNUNET_GETOPT_OPTION_SET_RELATIVE_TIME ('t', | 220 | GNUNET_GETOPT_option_relative_time ('t', |
221 | "timeout", | 221 | "timeout", |
222 | "DELAY", | 222 | "DELAY", |
223 | gettext_noop ("automatically terminate experiment after DELAY"), | 223 | gettext_noop ("automatically terminate experiment after DELAY"), |