dominictarr/rc — pull request #10 by satazor (2013-04-08 20:16:53+00:00)
Title: Parse --config.* args as an object as done by optimist.

Little note:

The final rc object contains some unnecessary keys that are inserted by `optimist`: `$0` and `_`. Also, I'm not removing the `argv.config` if it's an `object`, causing the final rc to still have a `config` key.

To do both things I would need to do a `deepExtend` the argv (because it should not be manipulated directly), remove the unnecessary things and use it instead of the argv.

Want me to do this?
Snapshot of the object in the test:

```
// Now
{ option: true,
foo: 'bar',
envOption: '42',
_: [],
'$0': 'node ./test.js',
config: { foo: 'bar' } }
// With the suggest change:
{ option: true,
foo: 'bar',
envOption: '42'
```