xp-framework/xp-framework — Issue #101: XPCLI: -c does not overwrite properties, but adds
Author: thekid
Created: 2012-01-02 10:48:43+00:00
State: open
Labels: bc-break, bug

Given the following command:

```php
out->writeLine('Inject key = ', $conf->readString('default', 'key'));
}

public function run() {
$this->out->writeLine('Running');
}
}
?>
```

If invoked as follows:

```sh
$ xpcli -c etc/prod Configured
```

...and the `etc` directory **also** contains a file named `config.ini`, then *both* are used. This is not intended behaviour.