From 54dec22d3e36e7363f27a43534db4078b57d7c5e Mon Sep 17 00:00:00 2001 From: dsmith Date: Mon, 20 Aug 2007 14:03:56 +0000 Subject: 2007-08-20 David Smith From Lai Jiangshan * main.cxx (main): Make sure the '-c' and '-x' options can't be specified together. --- main.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'main.cxx') diff --git a/main.cxx b/main.cxx index e18a1331..eaf0a651 100644 --- a/main.cxx +++ b/main.cxx @@ -448,6 +448,12 @@ main (int argc, char * const argv []) usage (s, 1); } + if((s.cmd != "") && (s.target_pid)) + { + cerr << "You can't specify -c and -x options together." < 4 && release_changed) { if (s.verbose) -- cgit