The --compare-dest option was not listed as accepting a string parameter
authorDavid Dykstra <dwd@samba.org>
Thu, 30 Aug 2001 16:24:03 +0000 (16:24 +0000)
committerDavid Dykstra <dwd@samba.org>
Thu, 30 Aug 2001 16:24:03 +0000 (16:24 +0000)
like it was supposed to.  There should probably be a testsuite test for
--compare-dest.

options.c

index ec0fc70..6b3227d 100644 (file)
--- a/options.c
+++ b/options.c
@@ -281,7 +281,7 @@ static struct poptOption long_options[] = {
   {"max-delete",       0,  POPT_ARG_INT,    &max_delete},
   {"timeout",          0,  POPT_ARG_INT,    &io_timeout},
   {"temp-dir",        'T', POPT_ARG_STRING, &tmpdir},
-  {"compare-dest",     0,  POPT_ARG_NONE,   &compare_dest},
+  {"compare-dest",     0,  POPT_ARG_STRING, &compare_dest},
   /* TODO: Should this take an optional int giving the compression level? */
   {"compress",        'z', POPT_ARG_NONE,   &do_compression},
   {"daemon",           0,  POPT_ARG_NONE,   &am_daemon},