summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-09-29 00:51:41 +0000
committerjbj <devnull@localhost>2000-09-29 00:51:41 +0000
commit17993c73cae2e6674c732d685ffa5093a95cf2bd (patch)
tree4b00af8481de2b7e2cde7f672c8fbf8913ebc6ba
parent88579dc7a79ab1e26fc38301683d0dc7ce29382a (diff)
downloadlibrpm-tizen-17993c73cae2e6674c732d685ffa5093a95cf2bd.tar.gz
librpm-tizen-17993c73cae2e6674c732d685ffa5093a95cf2bd.tar.bz2
librpm-tizen-17993c73cae2e6674c732d685ffa5093a95cf2bd.zip
manpage fix (johnsonm@redhat.com)
CVS patchset: 4184 CVS date: 2000/09/29 00:51:41
-rw-r--r--popt/popt.313
1 files changed, 11 insertions, 2 deletions
diff --git a/popt/popt.3 b/popt/popt.3
index bfa7a2bad..8d17f17c8 100644
--- a/popt/popt.3
+++ b/popt/popt.3
@@ -269,8 +269,17 @@ two arguments specify the command-line arguments to parse. These are
.RB "passed to the program's " main() " function. The "
.IR options " parameter points to the table of command-line options, "
which was described in the previous section. The final parameter,
-.IR flags ",is not currently used but should always be specified as
-0 for compatibility with future versions of the popt library.
+.IR flags ,
+can take one of three values:
+.br
+.TS
+lfB lfB
+lfB lfR.
+Value Description
+POPT_CONTEXT_NO_EXEC Ignore exec expansions
+POPT_CONTEXT_KEEP_FIRST Do not ignore argv[0]
+POPT_CONTEXT_POSIXMEHARDER Options cannot follow arguments
+.TE
.sp
.RB "A " poptContext " keeps track of which options have already been "
parsed and which remain, among other things. If a program wishes to