From: Christian Grothoff Date: Thu, 5 Jan 2012 07:48:35 +0000 (+0000) Subject: -LRN: fix getopt X-Git-Tag: initial-import-from-subversion-38251~15428 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=55278ebb7ec49b6fa741f44e6076167740f1e50b;p=oweals%2Fgnunet.git -LRN: fix getopt --- diff --git a/src/fs/gnunet-download.c b/src/fs/gnunet-download.c index 9e4a8c2f7..b6c67ce27 100644 --- a/src/fs/gnunet-download.c +++ b/src/fs/gnunet-download.c @@ -244,7 +244,7 @@ main (int argc, char *const *argv) 0, &GNUNET_GETOPT_set_one, &delete_incomplete}, {'n', "no-network", NULL, gettext_noop ("only search the local peer (no P2P network search)"), - 1, &GNUNET_GETOPT_set_uint, &local_only}, + 0, &GNUNET_GETOPT_set_uint, &local_only}, {'o', "output", "FILENAME", gettext_noop ("write the file to FILENAME"), 1, &GNUNET_GETOPT_set_string, &filename},