diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | main.cxx | 6 |
2 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2007-08-20 David Smith <dsmith@redhat.com> + + From Lai Jiangshan <laijs@cn.fujitsu.com> + * main.cxx (main): Make sure the '-c' and '-x' options can't be + specified together. + 2007-08-17 Frank Ch. Eigler <fche@elastic.org> As suggested by "Zhaolei" <zhaolei@cn.fujitsu.com>: @@ -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." <<endl; + usage (s, 1); + } + if (s.last_pass > 4 && release_changed) { if (s.verbose) |