dsync options
@@ -2244,12 +2244,12 @@ int main(int argc, char **argv)
int option_index = 0;
static struct option long_options[] = {
+ {"dryrun", 0, 0, 'n'},
{"batch-files", 1, 0, 'b'},
{"contents", 0, 0, 'c'},
- {"dryrun", 0, 0, 'n'},
{"delete", 0, 0, 'D'},
- {"output", 1, 0, 'o'},
- {"debug", 0, 0, 'd'},
+ {"output", 1, 0, 'o'}, // undocumented
+ {"debug", 0, 0, 'd'}, // undocumented
{"verbose", 0, 0, 'v'},
{"quiet", 0, 0, 'q'},
{"help", 0, 0, 'h'},
@@ -2267,7 +2267,7 @@ int main(int argc, char **argv)
while (1) {
int c = getopt_long(
- argc, argv, "b:cDo:dvqh",
+ argc, argv, "b:cDo:vqh",
long_options, &option_index
);
