From c47a0a15e0ec5f35a0ab7ed8ed142b5bcaaf4ca8 Mon Sep 17 00:00:00 2001 From: Steven Knight Date: Sun, 9 Sep 2001 21:47:42 +0000 Subject: Add command-line processing for all options (with tests). --- doc/man/options.sgml | 81 +++++++--- src/scons.py | 374 +++++++++++++++++++++++++++++++++++++++++++---- test/option--C.py | 26 ++++ test/option--H.py | 20 +++ test/option--I.py | 26 ++++ test/option--R.py | 26 ++++ test/option--S.py | 31 ++++ test/option--W.py | 36 +++++ test/option--Y.py | 26 ++++ test/option--cd.py | 26 ++++ test/option--cf.py | 26 ++++ test/option--cs.py | 21 +++ test/option--la.py | 21 +++ test/option--ld.py | 21 +++ test/option--lw.py | 21 +++ test/option--npd.py | 21 +++ test/option--override.py | 21 +++ test/option--random.py | 21 +++ test/option--wf.py | 21 +++ test/option--wuv.py | 21 +++ test/option-b.py | 21 +++ test/option-c.py | 31 ++++ test/option-d.py | 21 +++ test/option-e.py | 26 ++++ test/option-h.py | 24 +++ test/option-i.py | 26 ++++ test/option-k.py | 26 ++++ test/option-l.py | 31 ++++ test/option-m.py | 21 +++ test/option-n.py | 41 ++++++ test/option-o.py | 31 ++++ test/option-p.py | 21 +++ test/option-q.py | 26 ++++ test/option-r.py | 26 ++++ test/option-s.py | 31 ++++ test/option-t.py | 26 ++++ test/option-u.py | 21 +++ test/option-v.py | 26 ++++ test/option-w.py | 26 ++++ 39 files changed, 1341 insertions(+), 48 deletions(-) create mode 100644 test/option--C.py create mode 100644 test/option--H.py create mode 100644 test/option--I.py create mode 100644 test/option--R.py create mode 100644 test/option--S.py create mode 100644 test/option--W.py create mode 100644 test/option--Y.py create mode 100644 test/option--cd.py create mode 100644 test/option--cf.py create mode 100644 test/option--cs.py create mode 100644 test/option--la.py create mode 100644 test/option--ld.py create mode 100644 test/option--lw.py create mode 100644 test/option--npd.py create mode 100644 test/option--override.py create mode 100644 test/option--random.py create mode 100644 test/option--wf.py create mode 100644 test/option--wuv.py create mode 100644 test/option-b.py create mode 100644 test/option-c.py create mode 100644 test/option-d.py create mode 100644 test/option-e.py create mode 100644 test/option-h.py create mode 100644 test/option-i.py create mode 100644 test/option-k.py create mode 100644 test/option-l.py create mode 100644 test/option-m.py create mode 100644 test/option-n.py create mode 100644 test/option-o.py create mode 100644 test/option-p.py create mode 100644 test/option-q.py create mode 100644 test/option-r.py create mode 100644 test/option-s.py create mode 100644 test/option-t.py create mode 100644 test/option-u.py create mode 100644 test/option-v.py create mode 100644 test/option-w.py diff --git a/doc/man/options.sgml b/doc/man/options.sgml index 2b824b5..a231908 100644 --- a/doc/man/options.sgml +++ b/doc/man/options.sgml @@ -134,9 +134,11 @@ + + + + file, @@ -187,7 +195,11 @@ - Print command-line help message and exit. + Print a local help message for this build, if one is defined in + the configuration file(s), plus a line that describes the -H + option for command-line option help. If no local help message + is defined, prints the standard help message about command-line + options. Exits after displaying the appropriate message. @@ -196,14 +208,13 @@ , - , - + - Display a local help message for this build, if one is defined in - the configuration file(s). + Print the standard help message about command-line options and + exit. @@ -277,11 +288,13 @@ + + - -> + --> + + + @@ -379,11 +398,13 @@ + + + + + + , @@ -530,7 +561,8 @@ - + , + @@ -565,7 +597,8 @@ - + , + , @@ -647,9 +680,11 @@ --> + +