quchen / amoeba

Amœba is a distributed network.
Other
18 stars 1 forks source link

Configuration assembly #26

Closed quchen closed 10 years ago

quchen commented 10 years ago

The configuration should be gathered like this:

  1. Get default config
  2. Get modifiers from files
  3. Get command line arguments

In the process, the later settings should overwrite the previous ones. Currently, the arg parser overwrites the file modifiers because it falls back to default settings for unspecified parameters.

quchen commented 10 years ago

Fixed with 062f5916d67e60280f1275b079c5e818987d5234, but not tested very much.