2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 01:12:13 +00:00
Files
build/options/help.jam
Dave Abrahams 1655be7509 initial commit
[SVN r18654]
2003-06-03 18:15:33 +00:00

26 lines
795 B
Plaintext
Executable File

# Copyright David Abrahams 2003. Permission to copy, use,
# modify, sell and distribute this software is granted provided this
# copyright notice appears in all copies. This software is provided
# "as is" without express or implied warranty, and with no claim as
# to its suitability for any purpose.
# This module is the plug-in handler for the --help and --help-.*
# command-line options
import doc ;
import assert ;
# Handle options here. This might just as well be done at module
# scope, since we don't happen to use the argument values, but I hope
# that Rene will transplant the help logic here and then it will be
# useful.
rule process ( option-name : value ? )
{
assert.result --help : MATCH ^(--help).* : $(option-name) ;
if [ doc.help ]
{
EXIT ;
}
}