aboutsummaryrefslogtreecommitdiff
path: root/bbot/agent.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bbot/agent.cxx')
-rw-r--r--bbot/agent.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/bbot/agent.cxx b/bbot/agent.cxx
index 26b0073..8c281fe 100644
--- a/bbot/agent.cxx
+++ b/bbot/agent.cxx
@@ -99,6 +99,16 @@ try
return p.wait () ? 0 : 1;
}
+ if (argc != 2)
+ fail << "toolchain name excected" <<
+ info << "run " << argv[0] << " --help for details";
+
+ string tc (argv[1]);
+
+ info << "starting bbot agent for toolchain " << tc <<
+ info << ops.cpu () << " CPU(s)" <<
+ info << ops.ram () << " RAM(kB)";
+
for (;;)
{
error << "sleeping" <<