summaryrefslogtreecommitdiff
path: root/include/apr_getopt.h
diff options
context:
space:
mode:
authorBen Collins-Sussman <sussman@apache.org>2002-01-17 17:26:35 +0000
committerBen Collins-Sussman <sussman@apache.org>2002-01-17 17:26:35 +0000
commita95bd10ba5a33bc21d465b70b32d14dd70efd16b (patch)
tree73656de0f34d83f838954ca86ee4d2da2b7901fa /include/apr_getopt.h
parenteb40406030140d070c820a024ccf2ec82376dfbc (diff)
downloadapr-a95bd10ba5a33bc21d465b70b32d14dd70efd16b.tar.gz
Small change that will allow Subversion to better document its
command-line switches. Shouldn't break any existing users of this structure. Reviewed by Greg Stein <gstein@lyra.org> * apr_getopt.h (apr_getopt_option_t): add a new 'description' field to the end of the structure. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62804 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_getopt.h')
-rw-r--r--include/apr_getopt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/apr_getopt.h b/include/apr_getopt.h
index 070bd72ed..4c771e8c3 100644
--- a/include/apr_getopt.h
+++ b/include/apr_getopt.h
@@ -116,6 +116,8 @@ struct apr_getopt_option_t {
int optch;
/** nonzero if option takes an argument */
int has_arg;
+ /** a description of the option */
+ const char *description;
};
/**