diff --git a/tools/putenv/putenv.php b/tools/putenv/putenv.php index ce49e58..3ea28d2 100644 --- a/tools/putenv/putenv.php +++ b/tools/putenv/putenv.php @@ -12,13 +12,13 @@ class PutEnv { $argc = sizeof($argv); print_r([$argc, $argv]); switch($argc) { - case 3: + case 4: $this->file = $argv[1]; $this->key = $argv[2]; $this->value -> $argv[3]; break; - case 2: + case 3: $this->file = $argv[1]; $this->key = $argv[2]; $this->value = fgets(STDIN);