summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorray <ray@openbsd.org>2006-04-13 16:20:28 +0000
committerray <ray@openbsd.org>2006-04-13 16:20:28 +0000
commitb64c83c238e0cf96ede0013cf9aae6d52af46218 (patch)
tree35f64fcc87373ff270d4622161c6f9e538c10a6d
parentclean up temporary files when we finish running. (diff)
downloadwireguard-openbsd-b64c83c238e0cf96ede0013cf9aae6d52af46218.tar.xz
wireguard-openbsd-b64c83c238e0cf96ede0013cf9aae6d52af46218.zip
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.c4
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