Lines Matching refs:program
4 @cindex argp (program argument parser)
79 in @var{flags}, calling @code{argp_parse} may result in the program
112 If defined or set by the user program to a non-zero value, then a
120 If defined or set by the user program to a non-zero value,
129 If defined or set by the user program to a non-zero value, a
131 which prints the program version and exits with a status of zero. This
133 @code{ARGP_NO_EXIT} flag is set, the exit behavior of the program is
147 useful if a program has version information not easily expressed in a
154 not defined or set by the user program, this defaults to:
195 explaining what the program does. Documentation printed after the
587 the invoking program. @xref{Argp}. It is an internal argp parser that
672 @var{state} to @code{@var{state}->err_stream} and terminates the program
681 @c buffer prefixed by the short program name (in libc,
687 by the program name and @samp{:}, and followed by a @w{@samp{Try @dots{}
688 --help}} message, and terminates the program with an exit status of
696 @c Lock stream, write out the short program name, vasprintf the optional
702 prints the program name and @samp{:}, the printf format string
705 non-zero, it terminates the program with that value as its exit status.
717 @c Just calls _help with the short program name and optionally exit.
857 Error output is sent to @code{@var{state}->err_stream}, and the program
860 The output or program termination behavior of these functions may be
866 not desirable to terminate the program in response to parsing errors. In
868 program @emph{doesn't} terminate, calls to any of these functions should
934 for the most common case of parsing program command line argument. To
944 corresponds to the program name in a command line.
950 is used as the program name in the error messages. This flag implies
1065 program options, argp offers the @code{argp_help} interface.
1107 program name and @samp{--help}.
1128 A message that prints where to report bugs for this program, if the
1138 printing its output, or terminates the program:
1143 This will terminate the program with @code{exit (argp_err_exit_status)}.
1147 This will terminate the program with @code{exit (0)}.
1157 prints a message on how to get help, and terminates the program with an
1162 This prints a standard usage message and terminates the program with an
1169 terminates the program successfully.
1178 * 1: Argp Example 1. A minimal program using argp.
1179 * 2: Argp Example 2. A program using only default options.
1180 * 3: Argp Example 3. A simple program with user options.
1187 This is perhaps the smallest program possible that uses argp. It won't
1198 This program doesn't use any options or arguments, it uses argp to be
1209 normally used, but they are not in this small program. There are also
1213 constant for a given program, even if they use different argument
1223 This program uses the same features as example 2, adding user options
1245 This program uses the same features as example 3, but has more options,
1251 program. @xref{Argp Special Keys}.
1261 program does, and after any options it is longer, describing the
1277 extent by a program's users, by setting the @code{ARGP_HELP_FMT}