summaryrefslogtreecommitdiff
path: root/ace/Get_Opt.h
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2002-08-28 02:49:30 +0000
committerSteve Huston <shuston@riverace.com>2002-08-28 02:49:30 +0000
commit17056d604cbb2999dde89a06119f39580ea10c6a (patch)
tree51fe8e5f0879d7a069457b6599d2c2a96c63f025 /ace/Get_Opt.h
parent211bfb464e3d918582144b48eaa9a26514796b76 (diff)
downloadATCD-17056d604cbb2999dde89a06119f39580ea10c6a.tar.gz
ChangeLogTag:Tue Aug 27 19:09:17 2002 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'ace/Get_Opt.h')
-rw-r--r--ace/Get_Opt.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/ace/Get_Opt.h b/ace/Get_Opt.h
index a45542a0322..d7544cb0853 100644
--- a/ace/Get_Opt.h
+++ b/ace/Get_Opt.h
@@ -218,6 +218,16 @@ public:
int &opt_ind (void);
/// Adds a long option with no corresponding short option.
+ /**
+ * If the @a name option is seen, @c operator() returns 0.
+ *
+ * @param name The long option to add.
+ * @param has_arg Defines the argument requirements for
+ * the new option.
+ *
+ * @retval 0 Success
+ * @retval -1 The long option can not be added.
+ */
int long_option (const ACE_TCHAR *name,
OPTION_ARG_MODE has_arg = NO_ARG);
@@ -230,7 +240,7 @@ public:
* the new option. If the short option has already
* been supplied in the @a optstring, @a has_arg
* must match or an error is returned; otherwise, the
- * new short option it is added to the @a optstring.
+ * new short option is added to the @a optstring.
*
* @retval 0 Success
* @retval -1 The long option can not be added.