summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2019-02-12 22:19:05 +0000
committerderaadt <deraadt@openbsd.org>2019-02-12 22:19:05 +0000
commite2bd02714cd5dcebac712d1d7469f1229d0b2125 (patch)
treec09ba65de544d253b6257e90ae2fb2279d1e295a
parentSkip test if disk type is not in /etc/disktab. There is no floppy (diff)
downloadwireguard-openbsd-e2bd02714cd5dcebac712d1d7469f1229d0b2125.tar.xz
wireguard-openbsd-e2bd02714cd5dcebac712d1d7469f1229d0b2125.zip
long option -group is same as -g; ok benno
-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 815987d8602..38331072388 100644
--- a/usr.bin/rsync/main.c
+++ b/usr.bin/rsync/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.11 2019/02/12 19:39:57 benno Exp $ */
+/* $Id: main.c,v 1.12 2019/02/12 22:19:05 deraadt Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -298,6 +298,7 @@ main(int argc, char *argv[])
{ "perms", no_argument, &opts.preserve_perms, 1 },
{ "recursive", no_argument, &opts.recursive, 1 },
{ "times", no_argument, &opts.preserve_times, 1 },
+ { "group", no_argument, &opts.preserve_gids, 1 },
{ NULL, 0, NULL, 0 }};
/* Global pledge. */