aboutsummaryrefslogtreecommitdiff
path: root/bbot
diff options
context:
space:
mode:
Diffstat (limited to 'bbot')
-rw-r--r--bbot/worker.cli2
-rw-r--r--bbot/worker.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/bbot/worker.cli b/bbot/worker.cli
index 61d3f4c..56c7c6b 100644
--- a/bbot/worker.cli
+++ b/bbot/worker.cli
@@ -69,7 +69,7 @@ namespace bbot
current working directory is used."
}
- dir_path --environment
+ dir_path --environments
{
"<dir>",
"The directory containing the environment setup executables. If not
diff --git a/bbot/worker.cxx b/bbot/worker.cxx
index 25ceede..382e334 100644
--- a/bbot/worker.cxx
+++ b/bbot/worker.cxx
@@ -551,8 +551,8 @@ try
//
try
{
- env_dir = ops.environment_specified ()
- ? ops.environment ()
+ env_dir = ops.environments_specified ()
+ ? ops.environments ()
: dir_path::home_directory ();
if (!dir_exists (env_dir))