diff options
author | Ray Lai <ray@cvs.openbsd.org> | 2006-04-13 16:20:29 +0000 |
---|---|---|
committer | Ray Lai <ray@cvs.openbsd.org> | 2006-04-13 16:20:29 +0000 |
commit | 0b3d8a000e46bb9b1ef55d27af5aff166eb49716 (patch) | |
tree | 44e113bbe34a3185be6c3f54d1954c97d434b5c7 | |
parent | d2336b812c8cd53e6fa365b565a0f7c44a88a0f1 (diff) |
Currently rcs_getopt spits out a generic error message if you do
`ci -m file'. This changes it so if -m is given without an argument
a customized error message is printed.
While I was there I sorted the optstring according to style(9).
``Oh, I see it now.'' niallo@
-rw-r--r-- | usr.bin/rcs/ci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rcs/ci.c b/usr.bin/rcs/ci.c index b3923efeb21..b07a457299b 100644 --- a/usr.bin/rcs/ci.c +++ b/usr.bin/rcs/ci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ci.c,v 1.144 2006/04/13 16:10:29 joris Exp $ */ +/* $OpenBSD: ci.c,v 1.145 2006/04/13 16:20:28 ray Exp $ */ /* * Copyright (c) 2005, 2006 Niall O'Higgins <niallo@openbsd.org> * All rights reserved. @@ -29,7 +29,7 @@ #include "rcsprog.h" #include "diff.h" -#define CI_OPTSTRING "d::f::I::i::j::k::l::m:M::N:n:qr::s:Tt:u::Vw:x::z::" +#define CI_OPTSTRING "d::f::I::i::j::k::l::M::m::N:n:qr::s:Tt:u::Vw:x::z::" #define DATE_NOW -1 #define DATE_MTIME -2 |