X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/cfce9f6dc353a013ab8d07c20a392aeaf6cab5ea..b8cc35874eeea91ffd01fcad8da3e36049eddef6:/options.c diff --git a/options.c b/options.c index aa231f7f..0deb4fa7 100644 --- a/options.c +++ b/options.c @@ -530,6 +530,7 @@ static struct poptOption long_daemon_options[] = { {"port", 0, POPT_ARG_INT, &rsync_port, 0, 0, 0 }, {"protocol", 0, POPT_ARG_INT, &protocol_version, 0, 0, 0 }, {"server", 0, POPT_ARG_NONE, &am_server, 0, 0, 0 }, + {"temp-dir", 'T', POPT_ARG_STRING, &tmpdir, 0, 0, 0 }, {"verbose", 'v', POPT_ARG_NONE, 0, 'v', 0, 0 }, {"help", 'h', POPT_ARG_NONE, 0, 'h', 0, 0 }, {0,0,0,0, 0, 0, 0} @@ -1160,7 +1161,7 @@ int parse_arguments(int *argc, const char ***argv, int frommain) } if (sparse_files && inplace) { - /* Note: we don't check for this below, because --update is + /* Note: we don't check for this below, because --append is * OK with --sparse (as long as redos are handled right). */ snprintf(err_buf, sizeof err_buf, "--sparse cannot be used with --inplace\n");