[Scons-users] Checking args passed through scons option parser

Bill Deegan bill at baddogconsulting.com
Thu May 17 14:30:08 EDT 2018


Saw your SO question for this..

If you know the default is 1, can't you just check if it's 1 and if so
change the value to whatever you want the effective default to be?

On Thu, May 17, 2018 at 2:19 PM, Daniel Moody <dmoody256 at gmail.com> wrote:

> I want to override the num_jobs option, but only of it wasn't set by the
> user.
>
> I could imagine a way to do this by checking and regexing the sys.argv,
> but how do you do it through scons option parser?
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20180517/6382a4c5/attachment.html>


More information about the Scons-users mailing list