aboutsummaryrefslogtreecommitdiff
path: root/bbot/worker.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bbot/worker.cxx')
-rw-r--r--bbot/worker.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/bbot/worker.cxx b/bbot/worker.cxx
index 07d92c3..e0149fc 100644
--- a/bbot/worker.cxx
+++ b/bbot/worker.cxx
@@ -22,6 +22,11 @@ using namespace std;
using namespace butl;
using namespace bbot;
+namespace bbot
+{
+ worker_options ops;
+}
+
int
main (int argc, char* argv[])
try
@@ -62,7 +67,7 @@ try
#endif
cli::argv_scanner scan (argc, argv, true);
- worker_options ops (scan);
+ ops.parse (scan);
// Version.
//