diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-04-04 14:58:08 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-04-04 14:58:08 +0200 |
commit | 578413a1f8781f03c2ddccb4d3c5d441c9579a3b (patch) | |
tree | e09764195dbf2027f6bd3f9be3b0d280c99b9340 /bbot/agent.cli | |
parent | 1af66bf90d14ec32ec0df5fe266674bd08ecf5e1 (diff) |
Add --cpu and --ram options
Diffstat (limited to 'bbot/agent.cli')
-rw-r--r-- | bbot/agent.cli | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bbot/agent.cli b/bbot/agent.cli index a52579f..761580c 100644 --- a/bbot/agent.cli +++ b/bbot/agent.cli @@ -30,6 +30,18 @@ namespace bbot { "\h|OPTIONS|" + size_t --cpu = 1 + { + "<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."} }; |