Age | Commit message (Collapse) | Author |
|
|
|
Convert to use the new type of argp children vectors.
|
|
Free clusters.
(argp_args_usage, argp_doc):
Use the new type of argp child vector.
(hol_entry_cmp, group_cmp, hol_cluster_cmp, hol_cluster_base, hol_add_cluster):
New functions.
(hol_entry_help):
Add gunk to print cluster headers.
(argp_hol):
Add, and use the new CLUSTER argument.
Use the new type of argp child vector, and make clusters.
(hol_append):
Deal with clusters.
Always use hol_free to free MORE, and just mark it's entries as invalid if
we steal them.
(make_hol):
Accept new CLUSTER argument, and fill in the corresponding entry fields with
it.
(hol_sort):
Use hol_entry_cmp.
(hol_entry_help: comma):
Only print cluster headers for real clusters.
Emit a newline after cluster headers.
(argp_help):
Pass new CLUSTER argument to argp_hol.
|
|
Change type of CHILDREN field to `struct argp_child *'.
(struct argp_child):
New type.
|
|
* argp.h: Add extern inline protection.
* idvec.h: Likewise.
* maptime.h: Likewise.
* argp.c, idvec-funcs.c, maptime-funcs.c: New files.
* Makefile (SRCS): Add argp.c, idvec-funcs.c, and
maptime-funcs.c.
|
|
|
|
Don't consume non-option arguments that aren't recognized by any parser.
Allocate enough space for TOP_ARGP's parent list to include the version
parser.
|
|
Renamed from fsys_remount.
Use --update, not --remount.
|
|
|
|
|
|
|
|
|
|
New macros.
(ARGP_HELP_STD_HELP): Include ARGP_HELP_DOC & ARGP_HELP_BUG_ADDR.
(argp_program_bug_address): New declaration.
(ARGP_HELP_EXIT_ERR, ARGP_HELP_EXIT_OK): Values changed.
|
|
Print documentation only according to the ARGP_HELP_*_DOC bits in FLAGS.
Possibly print bug report address if ARGP_HELP_BUG_ADDR is set.
Replace FIRST by ANYTHING (sense inverted).
|
|
|
|
(argp_help): Supply new args to argp_doc, and additional call before arg help.
Add note about --usage to `Try...' msg.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Allocate enough space in SHORT_NO_ARG_OPTS for the '\0' terminator.
|
|
|
|
so that it won't get indented.
|
|
Use an uppercase 'V' for short version option.
|
|
|
|
"argp.h": New include.
|
|
|
|
|
|
Output ARGP_PROGRAM_VERSION to STATE->out_stream, not stdout.
Supply that stream and STATE to ARGP_PROGRAM_VERSION_HOOK.
|
|
|
|
|
|
Use group_parse instead of calling group parser directly for long options.
|
|
(LCLHDRS): Remove line.h.
|
|
|
|
|
|
|
|
|
|
(argp_failure): New declaration.
(ARGP_NO_HELP, ARGP_NO_EXIT): Fix values (were hex, but with decimal value!).
(argp_help): Add NAME argument.
|
|
(argp_parse):
Initialize new fields in STATE. Output errors to STATE.err_stream.
|
|
(argp_error): Use STATE->err_stream instead of STDERR.
(argp_state_help): Supply NAME argument to argp_help.
(argp_failure): New function.
(indent_to): Terminate.
|
|
|
|
Prefix each option desc with a space.
Do manual wrapping of descs with an embedded space.
Don't set wrap margin (done elsewhere now).
(argp_args_usage): Do manual line wrapping because of embedded spaces.
(argp_help): Set wrap & left margins when printing usage.
|
|
|
|
|
|
|