diff options
Diffstat (limited to 'bbot/agent.cli')
-rw-r--r-- | bbot/agent.cli | 36 |
1 files changed, 32 insertions, 4 deletions
diff --git a/bbot/agent.cli b/bbot/agent.cli index c4ee356..7a6c201 100644 --- a/bbot/agent.cli +++ b/bbot/agent.cli @@ -37,6 +37,9 @@ namespace bbot { "\h|OPTIONS|" + bool --help {"Print usage information and exit."} + bool --version {"Print version and exit."} + bool --systemd-daemon { "Start as a simple systemd daemon." @@ -46,16 +49,41 @@ namespace bbot { "<num>", "Number of CPUs (threads) to use, 1 by default." - }; + } size_t --ram (1024 * 1024) // 1G { "<num>", "Amount of RAM (in kB) to use, 1G by default." - }; + } - bool --help {"Print usage information and exit."} - bool --version {"Print version and exit."} + dir_path --machines = "/build/machines/" + { + "<dir>", + "The location of the build machines with \cb{/build/machines/} being + the default." + } + + uint16_t --verbose = 1 + { + "<level>", + "Set the diagnostics verbosity to <level> between 0 and 6 with level 1 + being the default." + } + + // Testing options. + // + bool --dump-machines + { + "Dump available machines to \c{stdout}, (re)-bootstrapping any if + necessary, and exit." + } + + bool --fake-bootstrap + { + "Fake the machine bootstrap process by creating the expected bootstrapped + machine manifest." + } }; " |