diff options
Diffstat (limited to 'src/regex/gnunet-regex-simulation-profiler.c')
-rw-r--r-- | src/regex/gnunet-regex-simulation-profiler.c | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/src/regex/gnunet-regex-simulation-profiler.c b/src/regex/gnunet-regex-simulation-profiler.c index 025a70316..422e45565 100644 --- a/src/regex/gnunet-regex-simulation-profiler.c +++ b/src/regex/gnunet-regex-simulation-profiler.c | |||
@@ -691,13 +691,20 @@ run (void *cls, | |||
691 | int | 691 | int |
692 | main (int argc, char *const *argv) | 692 | main (int argc, char *const *argv) |
693 | { | 693 | { |
694 | static const struct GNUNET_GETOPT_CommandLineOption options[] = { | 694 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
695 | {'t', "table", "TABLENAME", | 695 | |
696 | gettext_noop ("name of the table to write DFAs"), | 696 | GNUNET_GETOPT_OPTION_STRING ('t', |
697 | 1, &GNUNET_GETOPT_set_string, &table_name}, | 697 | "table", |
698 | {'p', "max-path-compression", "MAX_PATH_COMPRESSION", | 698 | "TABLENAME", |
699 | gettext_noop ("maximum path compression length"), | 699 | gettext_noop ("name of the table to write DFAs"), |
700 | 1, &GNUNET_GETOPT_set_uint, &max_path_compression}, | 700 | &table_name), |
701 | |||
702 | GNUNET_GETOPT_OPTION_SET_UINT ('p', | ||
703 | "max-path-compression", | ||
704 | "MAX_PATH_COMPRESSION", | ||
705 | gettext_noop ("maximum path compression length"), | ||
706 | &max_path_compression), | ||
707 | |||
701 | GNUNET_GETOPT_OPTION_END | 708 | GNUNET_GETOPT_OPTION_END |
702 | }; | 709 | }; |
703 | int ret; | 710 | int ret; |