diff options
Diffstat (limited to 'bbot/worker.cli')
-rw-r--r-- | bbot/worker.cli | 54 |
1 files changed, 52 insertions, 2 deletions
diff --git a/bbot/worker.cli b/bbot/worker.cli index 3691b2d..561d714 100644 --- a/bbot/worker.cli +++ b/bbot/worker.cli @@ -11,18 +11,27 @@ include <bbot/common.cli>; namespace bbot { { - "<options> <file>", + "<options> <module> <conf-var>", " \h|SYNOPSIS| \cb{bbot-worker --help}\n \cb{bbot-worker --version}\n - \c{\b{bbot-worker} [<options>] <toolchain>} + \c{\b{bbot-worker --bootstrap} [<options>]}\n + \c{\b{bbot-worker --startup} [<options>]}\n + \c{\b{bbot-worker} [<options>] <module>... <conf-var>...} \h|DESCRIPTION| \cb{bbot-worker} @@ TODO. + + If the \cb{--bootstrap} mode option is specified, then the worker performs + the initial machine bootstrap and writes the bootstrap result manifest to + \c{stdout}. If the \cb{--startup} mode option is specified, then the + worker performs the environment setup and then re-executes in the build + mode. If neither of the mode options is specified, then the worker + proceeds to performing the build task. " } @@ -32,6 +41,47 @@ namespace bbot bool --help {"Print usage information and exit."} bool --version {"Print version and exit."} + + bool --bootstrap + { + "Perform the inital machine bootstrap insteading of building." + } + + bool --startup + { + "Perform the environment setup and then re-execute for building." + } + + dir_path --build + { + "<dir>", + "The directory to perform the build in. If not specified, then the + current working directory is used." + } + + dir_path --environment + { + "<dir>", + "The directory containing the environment setup executables. If not + specified, then the user's home directory is used." + } + + uint16_t --verbose = 1 + { + "<level>", + "Set the diagnostics verbosity to <level> between 0 and 6 with level 1 + being the default." + } + + // Testing options. + // + string --tftp-host = "196.254.111.222" + { + "<addr>", + "The TFTP host address and, optionally, port to use to download the + build task and to upload the build result. By default the link-local + address 196.254.111.222 with the default TFTP port (69) is used." + } }; " |