diff options
author | Christian Weisgerber <naddy@cvs.openbsd.org> | 2019-03-30 09:32:55 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@cvs.openbsd.org> | 2019-03-30 09:32:55 +0000 |
commit | 118bfd97da27f0f467ead64bc194118c9f105b67 (patch) | |
tree | dc594066a56054c08707824bf666f7281e62c281 /usr.bin | |
parent | 8eda4a17ede6fb67b6cebe285eb434aff858418c (diff) |
document --del, ok deraadt@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/rsync/main.c | 4 | ||||
-rw-r--r-- | usr.bin/rsync/rsync.1 | 7 |
2 files changed, 6 insertions, 5 deletions
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 <kristaps@bsd.lv> * @@ -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 <kristaps@bsd.lv> .\" @@ -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 |