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/regex | |
parent | 2ad934742422ecb63fe3fafdc8c73d067a9e2fb7 (diff) | |
download | gnunet-5a7cef0202631204485cbcb1e36671e4321a936f.tar.gz gnunet-5a7cef0202631204485cbcb1e36671e4321a936f.zip |
rename GNUNET_GETOPT functions to achieve better consistency
Diffstat (limited to 'src/regex')
-rw-r--r-- | src/regex/gnunet-regex-profiler.c | 10 | ||||
-rw-r--r-- | src/regex/gnunet-regex-simulation-profiler.c | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/regex/gnunet-regex-profiler.c b/src/regex/gnunet-regex-profiler.c index 71f3580f8..7d907fec6 100644 --- a/src/regex/gnunet-regex-profiler.c +++ b/src/regex/gnunet-regex-profiler.c | |||
@@ -1479,32 +1479,32 @@ main (int argc, char *const *argv) | |||
1479 | { | 1479 | { |
1480 | struct GNUNET_GETOPT_CommandLineOption options[] = { | 1480 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
1481 | 1481 | ||
1482 | GNUNET_GETOPT_OPTION_FILENAME ('o', | 1482 | GNUNET_GETOPT_option_filename ('o', |
1483 | "output-file", | 1483 | "output-file", |
1484 | "FILENAME", | 1484 | "FILENAME", |
1485 | gettext_noop ("name of the file for writing statistics"), | 1485 | gettext_noop ("name of the file for writing statistics"), |
1486 | &data_filename), | 1486 | &data_filename), |
1487 | 1487 | ||
1488 | GNUNET_GETOPT_OPTION_SET_RELATIVE_TIME ('t', | 1488 | GNUNET_GETOPT_option_relative_time ('t', |
1489 | "matching-timeout", | 1489 | "matching-timeout", |
1490 | "TIMEOUT", | 1490 | "TIMEOUT", |
1491 | gettext_noop ("wait TIMEOUT before ending the experiment"), | 1491 | gettext_noop ("wait TIMEOUT before ending the experiment"), |
1492 | &search_timeout_time), | 1492 | &search_timeout_time), |
1493 | 1493 | ||
1494 | GNUNET_GETOPT_OPTION_FILENAME ('p', | 1494 | GNUNET_GETOPT_option_filename ('p', |
1495 | "policy-dir", | 1495 | "policy-dir", |
1496 | "DIRECTORY", | 1496 | "DIRECTORY", |
1497 | gettext_noop ("directory with policy files"), | 1497 | gettext_noop ("directory with policy files"), |
1498 | &policy_dir), | 1498 | &policy_dir), |
1499 | 1499 | ||
1500 | 1500 | ||
1501 | GNUNET_GETOPT_OPTION_FILENAME ('s', | 1501 | GNUNET_GETOPT_option_filename ('s', |
1502 | "strings-file", | 1502 | "strings-file", |
1503 | "FILENAME", | 1503 | "FILENAME", |
1504 | gettext_noop ("name of file with input strings"), | 1504 | gettext_noop ("name of file with input strings"), |
1505 | &strings_file), | 1505 | &strings_file), |
1506 | 1506 | ||
1507 | GNUNET_GETOPT_OPTION_FILENAME ('H', | 1507 | GNUNET_GETOPT_option_filename ('H', |
1508 | "hosts-file", | 1508 | "hosts-file", |
1509 | "FILENAME", | 1509 | "FILENAME", |
1510 | gettext_noop ("name of file with hosts' names"), | 1510 | gettext_noop ("name of file with hosts' names"), |
diff --git a/src/regex/gnunet-regex-simulation-profiler.c b/src/regex/gnunet-regex-simulation-profiler.c index 422e45565..67c2ecfff 100644 --- a/src/regex/gnunet-regex-simulation-profiler.c +++ b/src/regex/gnunet-regex-simulation-profiler.c | |||
@@ -693,13 +693,13 @@ main (int argc, char *const *argv) | |||
693 | { | 693 | { |
694 | struct GNUNET_GETOPT_CommandLineOption options[] = { | 694 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
695 | 695 | ||
696 | GNUNET_GETOPT_OPTION_STRING ('t', | 696 | GNUNET_GETOPT_option_string ('t', |
697 | "table", | 697 | "table", |
698 | "TABLENAME", | 698 | "TABLENAME", |
699 | gettext_noop ("name of the table to write DFAs"), | 699 | gettext_noop ("name of the table to write DFAs"), |
700 | &table_name), | 700 | &table_name), |
701 | 701 | ||
702 | GNUNET_GETOPT_OPTION_SET_UINT ('p', | 702 | GNUNET_GETOPT_option_uint ('p', |
703 | "max-path-compression", | 703 | "max-path-compression", |
704 | "MAX_PATH_COMPRESSION", | 704 | "MAX_PATH_COMPRESSION", |
705 | gettext_noop ("maximum path compression length"), | 705 | gettext_noop ("maximum path compression length"), |