2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 01:12:13 +00:00

Temporary fix to prevent multiple calls into the help system. To be removed when I have time to move code into the help options file.

[SVN r18771]
This commit is contained in:
Rene Rivera
2003-06-11 07:09:00 +00:00
parent ad6458087a
commit 06702a2893
2 changed files with 22 additions and 0 deletions

View File

@@ -52,6 +52,17 @@ help-output-file = help ;
# from occuring.
#
rule help ( )
{
if ! $(.did-help)
{
.did-help = [ help-options ] ;
}
}
# Temporary so that the option parsing can be guarded to execute once
# until some of this is moved to help.jam options file.
#
local rule help-options ( )
{
local args = [ class.new vector [ modules.peek : ARGV ] ] ;
local did-help = ;

View File

@@ -52,6 +52,17 @@ help-output-file = help ;
# from occuring.
#
rule help ( )
{
if ! $(.did-help)
{
.did-help = [ help-options ] ;
}
}
# Temporary so that the option parsing can be guarded to execute once
# until some of this is moved to help.jam options file.
#
local rule help-options ( )
{
local args = [ class.new vector [ modules.peek : ARGV ] ] ;
local did-help = ;