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. --- ChangeLog | 6 ++++++ main.cxx | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index 292b9bdc..045ca353 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-08-20 David Smith + + From Lai Jiangshan + * main.cxx (main): Make sure the '-c' and '-x' options can't be + specified together. + 2007-08-17 Frank Ch. Eigler As suggested by "Zhaolei" : 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