aboutsummaryrefslogtreecommitdiff
path: root/bbot/worker.cli
diff options
context:
space:
mode:
Diffstat (limited to 'bbot/worker.cli')
-rw-r--r--bbot/worker.cli42
1 files changed, 42 insertions, 0 deletions
diff --git a/bbot/worker.cli b/bbot/worker.cli
new file mode 100644
index 0000000..7457790
--- /dev/null
+++ b/bbot/worker.cli
@@ -0,0 +1,42 @@
+// file : bbot/worker.cli
+// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+include <bbot/common.cli>;
+
+"\section=1"
+"\name=bbot-worker"
+"\summary=build bot worker"
+
+namespace bbot
+{
+ {
+ "<options> <file>",
+
+ "
+ \h|SYNOPSIS|
+
+ \cb{bbot-worker --help}\n
+ \cb{bbot-worker --version}\n
+ \c{\b{bbot-worker} [<options>] <toolchain>}
+
+ \h|DESCRIPTION|
+
+ \cb{bbot-worker} @@ TODO.
+ "
+ }
+
+ class worker_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.
+ "
+}