summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Pugh2018-03-26 20:48:48 (GMT)
committerJon Pugh2018-03-26 20:48:48 (GMT)
commit90b0979deb38d94701f1f68d7ea59bb12ee6d819 (patch)
tree5baa49d6d824a8820751489d3da2f6d3f99b2d43
parent70754c7c40275899b0b3a492fc1a88770d931c36 (diff)
Look for --context= or we might get confused with --context-type
-rw-r--r--src/Provision/Console/ArgvInput.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Provision/Console/ArgvInput.php b/src/Provision/Console/ArgvInput.php
index 72392ef..0c34e07 100644
--- a/src/Provision/Console/ArgvInput.php
+++ b/src/Provision/Console/ArgvInput.php
@@ -26,7 +26,7 @@ class ArgvInput extends ArgvInputBase {
}
// If --context option is used, use that.
elseif ($argv_filtered = array_filter($argv, function ($key) {
- return strpos($key, '--context') === 0;
+ return strpos($key, '--context=') === 0;
})) {
$context_option = array_pop($argv_filtered);
$context_name = substr($context_option, strlen('--context='));