diff options
author | Robert Managan <managan1@llnl.gov> | 2010-09-22 23:57:36 (GMT) |
---|---|---|
committer | Robert Managan <managan1@llnl.gov> | 2010-09-22 23:57:36 (GMT) |
commit | 9b7be0b466553e625494a52372cb82b5d9a0531e (patch) | |
tree | 757d1fb938000187eaf7a1ca6fcebd6dcc30b45b /src | |
parent | edc54cfdb44b7c1f95d2dc0c4a014cece789b29e (diff) | |
download | SCons-9b7be0b466553e625494a52372cb82b5d9a0531e.zip SCons-9b7be0b466553e625494a52372cb82b5d9a0531e.tar.gz SCons-9b7be0b466553e625494a52372cb82b5d9a0531e.tar.bz2 |
Change the -l, --load-average, --max-load option to take a float value
instead of an integer.
Diffstat (limited to 'src')
-rw-r--r-- | src/engine/SCons/Script/SConsOptions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/Script/SConsOptions.py b/src/engine/SCons/Script/SConsOptions.py index 141f9e8..ceb6006 100644 --- a/src/engine/SCons/Script/SConsOptions.py +++ b/src/engine/SCons/Script/SConsOptions.py @@ -867,7 +867,7 @@ def Parser(version): sys.stderr.write(msg) op.add_option('-l', '--load-average', '--max-load', - nargs=1, type="int", + nargs=1, type="float", dest="load_average", default=0, action="callback", callback=opt_not_yet, # action="store", |