summaryrefslogtreecommitdiff
path: root/src/sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sync.c')
-rw-r--r--src/sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sync.c b/src/sync.c
index 04e99d800..ad22351f7 100644
--- a/src/sync.c
+++ b/src/sync.c
@@ -67,7 +67,7 @@ main (int argc, char **argv)
parse_long_options (argc, argv, PROGRAM_NAME, PACKAGE, VERSION,
usage, AUTHORS, (char const *) NULL);
- if (getopt (argc, argv, "") != -1)
+ if (getopt_long (argc, argv, "", NULL, NULL) != -1)
usage (EXIT_FAILURE);
if (optind < argc)