summaryrefslogtreecommitdiff
path: root/usr.bin/rsync
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2019-02-16 17:48:49 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2019-02-16 17:48:49 +0000
commit140309b524f24d75fd9614fc6d792f1405c198f8 (patch)
tree5f6578e61a08193dcd62d82d013c6050ab1292b7 /usr.bin/rsync
parent715cbcb9115e4b2c9534f37b4266b0a0d63f380b (diff)
--archive is same as -a
Diffstat (limited to 'usr.bin/rsync')
-rw-r--r--usr.bin/rsync/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/rsync/main.c b/usr.bin/rsync/main.c
index 3fca31b9ff7..41285c65898 100644
--- a/usr.bin/rsync/main.c
+++ b/usr.bin/rsync/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.21 2019/02/16 17:36:07 deraadt Exp $ */
+/* $Id: main.c,v 1.22 2019/02/16 17:48:48 deraadt Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -293,6 +293,7 @@ main(int argc, char *argv[])
{ "server", no_argument, &opts.server, 1 },
{ "dry-run", no_argument, &opts.dry_run, 1 },
{ "version", no_argument, NULL, 2 },
+ { "archive", no_argument, NULL, 'a' },
{ "help", no_argument, NULL, 'h' },
{ "delete", no_argument, &opts.del, 1 },
{ "no-delete", no_argument, &opts.del, 0 },