From 90dc6b94d0b651069afb52174635ead1b8b5ed08 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Wed, 11 Jul 2007 19:37:51 +0000 Subject: [PATCH] Clarify comment [SVN r38190] --- src/value_semantic.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/value_semantic.cpp b/src/value_semantic.cpp index 0cdf699..4d1e133 100644 --- a/src/value_semantic.cpp +++ b/src/value_semantic.cpp @@ -122,8 +122,8 @@ namespace boost { namespace program_options { /* Validates bool value. Any of "1", "true", "yes", "on" will be converted to "1".
Any of "0", "false", "no", "off" will be converted to "0".
- Case is ignored. Regardless of name passed, parameter will always - be optional. + Case is ignored. The 'xs' vector can either be empty, in which + case the value is 'true', or can contain explicit value. */ BOOST_PROGRAM_OPTIONS_DECL void validate(any& v, const vector& xs, bool*, int)