From 118bfd97da27f0f467ead64bc194118c9f105b67 Mon Sep 17 00:00:00 2001 From: Christian Weisgerber Date: Sat, 30 Mar 2019 09:32:55 +0000 Subject: document --del, ok deraadt@ --- usr.bin/rsync/main.c | 4 ++-- usr.bin/rsync/rsync.1 | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'usr.bin/rsync') diff --git a/usr.bin/rsync/main.c b/usr.bin/rsync/main.c index 2b9f23dbca3..a3fdeaacc1d 100644 --- a/usr.bin/rsync/main.c +++ b/usr.bin/rsync/main.c @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.37 2019/03/30 07:24:42 naddy Exp $ */ +/* $Id: main.c,v 1.38 2019/03/30 09:32:54 naddy Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons * @@ -499,7 +499,7 @@ main(int argc, char *argv[]) usage: fprintf(stderr, "usage: %s [-aDglnoprtvz] [-e program] [--archive] [--compress]\n" - "\t[--delete] [--devices] [--group] [--links] [--dry-run]\n" + "\t[--del] [--delete] [--devices] [--group] [--links] [--dry-run]\n" "\t[--owner] [--perms] [--port=portnumber] [--recursive]\n" "\t[--rsh=program][--rsync-path=program] [--specials] [--times]\n" "\t[--verbose] [--version] source ... directory\n", diff --git a/usr.bin/rsync/rsync.1 b/usr.bin/rsync/rsync.1 index 07f809f8c42..b1310ba25ef 100644 --- a/usr.bin/rsync/rsync.1 +++ b/usr.bin/rsync/rsync.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rsync.1,v 1.12 2019/03/22 20:12:23 schwarze Exp $ +.\" $OpenBSD: rsync.1,v 1.13 2019/03/30 09:32:54 naddy Exp $ .\" .\" Copyright (c) 2019 Kristaps Dzonsons .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: March 22 2019 $ +.Dd $Mdocdate: March 30 2019 $ .Dt OPENRSYNC 1 .Os .Sh NAME @@ -25,6 +25,7 @@ .Op Fl aDglnoprtv .Op Fl e Ar program .Op Fl -archive +.Op Fl -del .Op Fl -delete .Op Fl -devices .Op Fl -group @@ -66,7 +67,7 @@ Shorthand for Transfer device and special files. Shorthand for .Fl -devices -specials -.It Fl -delete +.It Fl -del , -delete Delete files in .Ar directory not found in -- cgit v1.2.3