From: GregNoel Date: Fri, 10 Apr 2009 01:56:01 +0000 (+0000) Subject: Issue 2349: doc-only change correcting description of text returned from sconf.Result... X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=8b917295d52212754015fa24a515659faf2db931;p=scons.git Issue 2349: doc-only change correcting description of text returned from sconf.Result() call git-svn-id: http://scons.tigris.org/svn/scons/trunk@4088 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/doc/man/scons.1 b/doc/man/scons.1 index 240972c2..facfd9cd 100644 --- a/doc/man/scons.1 +++ b/doc/man/scons.1 @@ -7182,8 +7182,8 @@ will be displayed to the user, e.g. 'Checking for library X...' Usually called after the check is done. .I res -can be either an integer or a string. In the former case, 'ok' (res != 0) -or 'failed' (res == 0) is displayed to the user, in the latter case the +can be either an integer or a string. In the former case, 'yes' (res != 0) +or 'no' (res == 0) is displayed to the user, in the latter case the given string is displayed. .TP diff --git a/doc/user/sconf.in b/doc/user/sconf.in index 0ef1d851..8ac4530b 100644 --- a/doc/user/sconf.in +++ b/doc/user/sconf.in @@ -306,8 +306,8 @@ the &Message; call prints the specified message (with no trailing newline) and the &Result; call prints - ok if the check succeeds and - failed if it doesn't. + yes if the check succeeds and + no if it doesn't. The &TryLink; method actually tests for whether the specified program text @@ -435,7 +435,7 @@ % scons -Q -c - Checking for MyLibrary... ok + Checking for MyLibrary... yes Removed foo.o Removed foo diff --git a/doc/user/sconf.xml b/doc/user/sconf.xml index d89470db..b6e02ebd 100644 --- a/doc/user/sconf.xml +++ b/doc/user/sconf.xml @@ -306,8 +306,8 @@ the &Message; call prints the specified message (with no trailing newline) and the &Result; call prints - ok if the check succeeds and - failed if it doesn't. + yes if the check succeeds and + no if it doesn't. The &TryLink; method actually tests for whether the specified program text @@ -435,7 +435,7 @@ % scons -Q -c - Checking for MyLibrary... ok + Checking for MyLibrary... yes Removed foo.o Removed foo diff --git a/src/engine/SCons/SConf.py b/src/engine/SCons/SConf.py index 38b3ddb9..5d671d2f 100644 --- a/src/engine/SCons/SConf.py +++ b/src/engine/SCons/SConf.py @@ -784,8 +784,7 @@ class CheckContext: def Result(self, res): """Inform about the result of the test. res may be an integer or a - string. In case of an integer, the written text will be 'ok' or - 'failed'. + string. In case of an integer, the written text will be 'yes' or 'no'. The result is only displayed when self.did_show_result is not set. """ if type(res) in BooleanTypes: