• Thomas Gambier's avatar
    BUGFIX: fix c931d60c · 9d72a29d
    Thomas Gambier authored
    After c931d60c, default options were changed and we didn't want that.
    
    Rewrite the code so that we have a clearer scheme:
     * all options of format are listed as FormatConfig attributes with default values
     * all values present in configuration file (.cfg) erase the previous options
     * all values present in command line erase the previous options
    
    We use the special default argparse.SUPPRESS that removes totally the arg from arg dict so that only PRESENT options erase something
    9d72a29d
format.py 54.4 KB