Project

General

Profile

« Previous | Next » 

Revision 2447

bin/map: Allow fractional verbosity values

View differences:

bin/map
80 80
    if end != None: end += start
81 81
    
82 82
    # Debugging
83
    verbosity = util.cast(int, opts.get_env_var('verbose', 0, env_names))
83
    verbosity = util.cast(float, opts.get_env_var('verbose', 0, env_names))
84 84
    verbose_errors = opts.env_flag('verbose_errors', test or debug, env_names)
85 85
    if opts.env_flag('debug', False, env_names): verbosity = max(verbosity, 2)
86 86
    opts.get_env_var('profile_to', None, env_names) # add to env_names

Also available in: Unified diff