diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2017-03-16 15:41:10 +0100 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2017-03-16 15:41:10 +0100 |
commit | e724ea478e4efe6e2531f81908ce0f9334357d81 (patch) | |
tree | ad114d0882c246bb0a314cdb2ca1c025cecef034 /src/fs/gnunet-unindex.c | |
parent | 1c4f90e7c538f1489ea17be3d2f655c2390d7ccf (diff) | |
download | gnunet-e724ea478e4efe6e2531f81908ce0f9334357d81.tar.gz gnunet-e724ea478e4efe6e2531f81908ce0f9334357d81.zip |
porting fs finished.
Diffstat (limited to 'src/fs/gnunet-unindex.c')
-rw-r--r-- | src/fs/gnunet-unindex.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/fs/gnunet-unindex.c b/src/fs/gnunet-unindex.c index 40fa13b62..c53a85fb4 100644 --- a/src/fs/gnunet-unindex.c +++ b/src/fs/gnunet-unindex.c | |||
@@ -30,7 +30,7 @@ | |||
30 | 30 | ||
31 | static int ret; | 31 | static int ret; |
32 | 32 | ||
33 | static int verbose; | 33 | static unsigned int verbose; |
34 | 34 | ||
35 | static const struct GNUNET_CONFIGURATION_Handle *cfg; | 35 | static const struct GNUNET_CONFIGURATION_Handle *cfg; |
36 | 36 | ||
@@ -162,10 +162,10 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
162 | int | 162 | int |
163 | main (int argc, char *const *argv) | 163 | main (int argc, char *const *argv) |
164 | { | 164 | { |
165 | static const struct GNUNET_GETOPT_CommandLineOption options[] = { | 165 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
166 | {'V', "verbose", NULL, | 166 | |
167 | gettext_noop ("be verbose (print progress information)"), | 167 | GNUNET_GETOPT_OPTION_VERBOSE (&verbose), |
168 | 0, &GNUNET_GETOPT_set_one, &verbose}, | 168 | |
169 | GNUNET_GETOPT_OPTION_END | 169 | GNUNET_GETOPT_OPTION_END |
170 | }; | 170 | }; |
171 | 171 | ||