aboutsummaryrefslogtreecommitdiff
path: root/bbot/agent.cli
diff options
context:
space:
mode:
Diffstat (limited to 'bbot/agent.cli')
-rw-r--r--bbot/agent.cli42
1 files changed, 42 insertions, 0 deletions
diff --git a/bbot/agent.cli b/bbot/agent.cli
new file mode 100644
index 0000000..a52579f
--- /dev/null
+++ b/bbot/agent.cli
@@ -0,0 +1,42 @@
+// file : bbot/agent.cli
+// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+include <bbot/common.cli>;
+
+"\section=1"
+"\name=bbot-agent"
+"\summary=build bot agent"
+
+namespace bbot
+{
+ {
+ "<options> <file>",
+
+ "
+ \h|SYNOPSIS|
+
+ \cb{bbot-agent --help}\n
+ \cb{bbot-agent --version}\n
+ \c{\b{bbot-agent} [<options>] <toolchain>}
+
+ \h|DESCRIPTION|
+
+ \cb{bbot-agent} @@ TODO.
+ "
+ }
+
+ class agent_options
+ {
+ "\h|OPTIONS|"
+
+ bool --help {"Print usage information and exit."}
+ bool --version {"Print version and exit."}
+ };
+
+ "
+ \h|EXIT STATUS|
+
+ Non-zero exit status is returned in case of an error.
+ "
+}