diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2007-05-09 07:04:58 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2007-05-09 07:04:58 +0000 |
commit | 955d81904a8c94e88b8325d7ed7d48c8585977e9 (patch) | |
tree | 0863a2c7eaee019a63029c5a74b0f743e0db227a /usr.bin/cvs/cvs.c | |
parent | e5e1bf81b470ed9761cfa779e4fe96f87fb6a2fe (diff) |
- we do not have -H, zap it.
- add missing `x' flag in getopt() and sort flags.
- sync usage().
Based on initial diff from Tobias Stoeckmann.
Diffstat (limited to 'usr.bin/cvs/cvs.c')
-rw-r--r-- | usr.bin/cvs/cvs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cvs/cvs.c b/usr.bin/cvs/cvs.c index cb114ec1975..a5f291d4adb 100644 --- a/usr.bin/cvs/cvs.c +++ b/usr.bin/cvs/cvs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cvs.c,v 1.121 2007/04/30 08:03:51 xsa Exp $ */ +/* $OpenBSD: cvs.c,v 1.122 2007/05/09 07:04:57 xsa Exp $ */ /* * Copyright (c) 2006, 2007 Joris Vink <joris@openbsd.org> * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> @@ -117,7 +117,7 @@ __dead void usage(void) { (void)fprintf(stderr, - "usage: %s [-flnQqRrtVvw] [-d root] [-e editor] [-s var=val]\n" + "usage: %s [-flnQqRrtVvwx] [-d root] [-e editor] [-s var=val]\n" " [-T tmpdir] [-z level] command [...]\n", __progname); exit(1); } @@ -295,7 +295,7 @@ cvs_getopt(int argc, char **argv) char *ep; const char *errstr; - while ((ret = getopt(argc, argv, "b:d:e:fHlnQqRrs:T:tvVwz:")) != -1) { + while ((ret = getopt(argc, argv, "b:d:e:flnQqRrs:T:tVvwxz:")) != -1) { switch (ret) { case 'b': /* |