Subject: [Boost-build] Bug concerning --help, --version, etc.
From: Michael Rolle (m_at_[hidden])
Date: 2014-11-16 21:56:13
I was trying to build something when I didn't have my environment set up correctly. Basically there was a problem initializing the boot system, which the bjam command reported. I tried 'bjam --help', and I got the same error message.
If there is no jamfile, the --help and --version options work fine. But in the case where there is a jamfile or jamroot present, bjam tries to initialize the build system first, before checking for --help or --version. These command line arguments are supposed to only print the corresponding information and nothing else.
So what I would like you to fix is for bjam to check these options on the command line and then exit, before trying to perform the build.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk