Project

General

Profile

« Previous | Next » 

Revision 1571

bin/map: Added section comments to env var config retrieval. Reordered env var config retrieval to put DB config last, since these options are input-type specific and complex, and putting them first hides the more general other options.

View differences:

bin/map
55 55
        # never commit in test mode
56 56
    redo = opts.env_flag('redo', test, env_names) and not commit
57 57
        # never redo in commit mode (manually run `make empty_db` instead)
58
    end = util.cast(int, opts.get_env_var('n', None, env_names))
59 58
    
60 59
    # Ranges
61 60
    start = util.cast(int, opts.get_env_var('start', '0', env_names))
61
    end = util.cast(int, opts.get_env_var('n', None, env_names))
62 62
    if end != None: end += start
63 63
    
64 64
    # Debugging

Also available in: Unified diff