ENH: Clarified documentation of EXISTS and IS_DIRECTORY modes.

This commit is contained in:
Brad King 2006-06-26 10:57:35 -04:00
parent 26a3a22325
commit 1307dfbd32

View File

@ -126,9 +126,11 @@ public:
"True if the given name is a command that can be invoked.\n" "True if the given name is a command that can be invoked.\n"
" IF(EXISTS file-name)\n" " IF(EXISTS file-name)\n"
" IF(EXISTS directory-name)\n" " IF(EXISTS directory-name)\n"
"True if the named file or directory exists.\n" "True if the named file or directory exists. "
"Behavior is well-defined only for full paths.\n"
" IF(IS_DIRECTORY directory-name)\n" " IF(IS_DIRECTORY directory-name)\n"
"True if the given name is a directory.\n" "True if the given name is a directory. "
"Behavior is well-defined only for full paths.\n"
" IF(variable MATCHES regex)\n" " IF(variable MATCHES regex)\n"
" IF(string MATCHES regex)\n" " IF(string MATCHES regex)\n"
"True if the given string or variable's value matches the given " "True if the given string or variable's value matches the given "