diff options
| author | 2019-03-31 13:17:44 +0000 | |
|---|---|---|
| committer | 2019-03-31 13:17:44 +0000 | |
| commit | cf0720cbaac37f8787eaae9c2e7a43aaded282f1 (patch) | |
| tree | c607d203d6d580e77e94eb27a5659c62a9624a6b | |
| parent | Move the prototypes of internal lockf functions from <sys/lockf.h> (diff) | |
| download | wireguard-openbsd-cf0720cbaac37f8787eaae9c2e7a43aaded282f1.tar.xz wireguard-openbsd-cf0720cbaac37f8787eaae9c2e7a43aaded282f1.zip | |
Drop --devices and --specials from the synopsis because they are only
low-utility parts of the more useful and shorter -D. Nice because it
brings the synopsis down to two lines, and because the approach buys us
additional time before the synopsis may grow disgustingly long again.
"Shrug. Probably helps." deraadt@
| -rw-r--r-- | usr.bin/rsync/main.c | 9 | ||||
| -rw-r--r-- | usr.bin/rsync/rsync.1 | 6 |
2 files changed, 6 insertions, 9 deletions
diff --git a/usr.bin/rsync/main.c b/usr.bin/rsync/main.c index 9f2de25f97f..cd407ce19eb 100644 --- a/usr.bin/rsync/main.c +++ b/usr.bin/rsync/main.c @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.41 2019/03/31 08:47:46 naddy Exp $ */ +/* $Id: main.c,v 1.42 2019/03/31 13:17:44 schwarze Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -504,10 +504,9 @@ main(int argc, char *argv[]) exit(rc); usage: - fprintf(stderr, - "usage: %s [-aDglnoprtv] [-e program] [--del] [--devices]\n" - "\t[--port=portnumber] [--rsync-path=program] [--specials]\n" - "\t[--version] source ... directory\n", + fprintf(stderr, "usage: %s" + " [-aDglnoprtv] [-e program] [--del] [--port=portnumber]\n" + "\t[--rsync-path=program] [--version] source ... directory\n", getprogname()); exit(1); } diff --git a/usr.bin/rsync/rsync.1 b/usr.bin/rsync/rsync.1 index 98f99944ef7..ff013c8f0f6 100644 --- a/usr.bin/rsync/rsync.1 +++ b/usr.bin/rsync/rsync.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rsync.1,v 1.14 2019/03/30 23:48:24 schwarze Exp $ +.\" $OpenBSD: rsync.1,v 1.15 2019/03/31 13:17:44 schwarze 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 30 2019 $ +.Dd $Mdocdate: March 31 2019 $ .Dt OPENRSYNC 1 .Os .Sh NAME @@ -25,10 +25,8 @@ .Op Fl aDglnoprtv .Op Fl e Ar program .Op Fl -del -.Op Fl -devices .Op Fl -port Ns = Ns Ar portnumber .Op Fl -rsync-path Ns = Ns Ar program -.Op Fl -specials .Op Fl -version .Ar source ... .Ar directory |
