summaryrefslogtreecommitdiff
path: root/ACE/ace/ARGV.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2006-12-28 15:02:27 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2006-12-28 15:02:27 +0000
commit94f4b0ba8f212bb09b5efa14e4c95528773f8a69 (patch)
treee002c3df98658bcc81598476ea9e547deba7cf22 /ACE/ace/ARGV.h
parent14459d2552fe459d06c6212e8e0505fdfdcfb29d (diff)
downloadATCD-94f4b0ba8f212bb09b5efa14e4c95528773f8a69.tar.gz
ChangeLogTag:Thu
Diffstat (limited to 'ACE/ace/ARGV.h')
-rw-r--r--ACE/ace/ARGV.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/ACE/ace/ARGV.h b/ACE/ace/ARGV.h
index 446620a9060..15b583dbbf4 100644
--- a/ACE/ace/ARGV.h
+++ b/ACE/ace/ARGV.h
@@ -129,7 +129,7 @@ public:
* in place of the environment variable name.
*
* @param quote_args If non-zero each argument @a argv[i] needs to
- * be enclosed in double quotes ('"').
+ * be enclosed in double quotes ('"').
*/
ACE_ARGV_T (CHAR_TYPE *argv[],
bool substitute_env_args = true,
@@ -148,6 +148,10 @@ public:
* reference (e.g., @c $VAR) will have its environment
* variable value in the resultant vector in place
* of the environment variable name.
+ *
+ * @param quote_args If non-zero each arguments @a first_argv[i] and
+ * @a second_argv[i] needs to be enclosed
+ * in double quotes ('"').
*/
ACE_ARGV_T (CHAR_TYPE *first_argv[],
CHAR_TYPE *second_argv[],
@@ -234,11 +238,14 @@ public:
* @param argv Pointers to the arguments to add to the vector.
* @a argv must be terminated by a 0 pointer.
*
+ * @param quote_args If non-zero each argument @a argv[i] needs to
+ * be enclosed in double quotes ('"').
+ *
* @retval 0 on success; -1 on failure. Most likely @c errno values are:
* - EINVAL: This object is not in iterative mode.
* - ENOMEM: Not enough memory available to save @a next_arg.
*/
- int add (CHAR_TYPE *argv[]);
+ int add (CHAR_TYPE *argv[], bool quote_args = false);
private:
/// Copy constructor not implemented.