diff options
author | jbj <jbj> | 2000-09-29 00:51:41 +0000 |
---|---|---|
committer | jbj <jbj> | 2000-09-29 00:51:41 +0000 |
commit | 9db03911308147b7635d5b0e2131c731ca773f76 (patch) | |
tree | 0a4f15222c23a142159af11df0688e251546037d /popt.3 | |
parent | 5aed233cdd0013ef2444e7a38fe75463de2a989b (diff) | |
download | libpopt-9db03911308147b7635d5b0e2131c731ca773f76.tar.gz |
manpage fix (johnsonm@redhat.com)
Diffstat (limited to 'popt.3')
-rw-r--r-- | popt.3 | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -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 |