summaryrefslogtreecommitdiff
path: root/usr.bin/rsync/main.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2019-03-31 13:17:45 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2019-03-31 13:17:45 +0000
commit1212f7344e94dc2ff1dc30af71d2af5116821136 (patch)
tree0ae017c4f7a595a8facb194c50b50609be1fd9a6 /usr.bin/rsync/main.c
parent61ecf39cf4a9e37a0c30fdb5977abd047055b03c (diff)
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);
}