diff options
author | 2007-04-14 21:44:06 +0000 | |
---|---|---|
committer | 2007-04-14 21:44:06 +0000 | |
commit | 3277a52f39f52e6077739a59fbbb38d38be6b6c4 (patch) | |
tree | 724bd60f6f4d9c6b15c1d3991829c3e7affacbc8 | |
parent | shave some blocks off each chunk to make sure disklabel doesn't get eaten (diff) | |
download | wireguard-openbsd-3277a52f39f52e6077739a59fbbb38d38be6b6c4.tar.xz wireguard-openbsd-3277a52f39f52e6077739a59fbbb38d38be6b6c4.zip |
sorts the options in both the synopsis and usage()
ok by jmc@
-rw-r--r-- | usr.bin/oldrdist/main.c | 9 | ||||
-rw-r--r-- | usr.bin/oldrdist/oldrdist.1 | 8 |
2 files changed, 9 insertions, 8 deletions
diff --git a/usr.bin/oldrdist/main.c b/usr.bin/oldrdist/main.c index 5fd10be7a4a..ef34c4156fc 100644 --- a/usr.bin/oldrdist/main.c +++ b/usr.bin/oldrdist/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.18 2003/06/03 02:56:14 millert Exp $ */ +/* $OpenBSD: main.c,v 1.19 2007/04/14 21:44:06 sobrado Exp $ */ /* * Copyright (c) 1983, 1993 @@ -37,7 +37,7 @@ static char copyright[] = #ifndef lint /* from: static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/9/93"; */ -static char *rcsid = "$OpenBSD: main.c,v 1.18 2003/06/03 02:56:14 millert Exp $"; +static char *rcsid = "$OpenBSD: main.c,v 1.19 2007/04/14 21:44:06 sobrado Exp $"; #endif /* not lint */ #include <stdarg.h> @@ -229,8 +229,9 @@ main(argc, argv) static void usage() { - printf("Usage: rdist [-nqbhirvwyD] [-f distfile] [-d var=value] [-m host] [file ...]\n"); - printf("or: rdist [-nqbhirvwyD] -c source [...] machine[:dest]\n"); + printf( + "usage: rdist [-bhinqRvwy] [-d var=value] [-f distfile] [-m host] [name ...]\n" + " rdist [-bhinqRvwy] -c name ... [login@]host[:dest]\n"); exit(1); } diff --git a/usr.bin/oldrdist/oldrdist.1 b/usr.bin/oldrdist/oldrdist.1 index 43775564a87..2a7961646db 100644 --- a/usr.bin/oldrdist/oldrdist.1 +++ b/usr.bin/oldrdist/oldrdist.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: oldrdist.1,v 1.15 2007/02/06 20:07:15 jmc Exp $ +.\" $OpenBSD: oldrdist.1,v 1.16 2007/04/14 21:44:06 sobrado Exp $ .\" .\" Copyright (c) 1985, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -37,13 +37,13 @@ .Nd remote file distribution program .Sh SYNOPSIS .Nm oldrdist -.Op Fl nqbRhivwy -.Op Fl f Ar distfile +.Op Fl bhinqRvwy .Op Fl d Ar var=value +.Op Fl f Ar distfile .Op Fl m Ar host .Op Ar name ... .Nm oldrdist -.Op Fl nqbRhivwy +.Op Fl bhinqRvwy .Fl c .Ar name ... .Oo login@ Oc Ns Ar host Ns Op :dest |