summaryrefslogtreecommitdiffstats
path: root/usr.bin/rsync/main.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2019-03-31 13:17:44 +0000
committerschwarze <schwarze@openbsd.org>2019-03-31 13:17:44 +0000
commitcf0720cbaac37f8787eaae9c2e7a43aaded282f1 (patch)
treec607d203d6d580e77e94eb27a5659c62a9624a6b /usr.bin/rsync/main.c
parentMove the prototypes of internal lockf functions from <sys/lockf.h> (diff)
downloadwireguard-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@
Diffstat (limited to 'usr.bin/rsync/main.c')
-rw-r--r--usr.bin/rsync/main.c9
1 files changed, 4 insertions, 5 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);
}