summaryrefslogtreecommitdiffstats
path: root/main.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'main.cxx')
-rw-r--r--main.cxx6
1 files changed, 6 insertions, 0 deletions
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." <<endl;
+ usage (s, 1);
+ }
+
if (s.last_pass > 4 && release_changed)
{
if (s.verbose)