lib/argp-help.c


Log

Author Commit Date CI Message
Jim Meyering a0bdb062 2008-05-20T08:45:49 remove trailing blanks
Bruno Haible 57fdfd3f 2007-10-07T19:14:58 Change copyright notice from GPLv2+ to GPLv3+.
Sergey Poznyakoff 8c390823 2007-06-22T15:30:37 (until_short): Remove `inline' qualifier. Otherwise, passing function as argument to `hol_entry_first_short' fails on some systems.
Sergey Poznyakoff 7d5d77e6 2007-05-02T04:33:22 (struct hol_entry): New member `ord'. (HOL_ENTRY_PTRCMP): Use ord for comparison (hol_sort): Initialize ord.
Sergey Poznyakoff cd7da117 2007-04-30T08:25:46 (hol_entry_cmp): Option sorting algorithm assumes the sorting is stable, while most qsort implementations are not. Use argument addresses to ensure they never compare as equal.
Sergey Poznyakoff a7ddf2cb 2007-04-29T12:02:27 (hol_cluster_cmp): Reverse comparison. Change proposed by Sven Verdoolaege.
Bruno Haible d7274260 2007-03-24T11:23:08 Cast the argument of <ctype.h> functions to 'unsigned char'.
Sergey Poznyakoff 7541dfc7 2006-09-12T09:06:40 (argp_doc): Make sure NULL is not passed to dgettext
Sergey Poznyakoff 1beff1e4 2006-09-09T05:38:06 Make sure the string is always translated
Sergey Poznyakoff 1c54588f 2006-09-09T05:12:46 (argp_doc): Split the untranslated doc string on '\v', and translate the two parts separately, instead of feeding the whole string to gettext. This allows to exclude '\v' from the strings visible to the translator by writing doc strings as N_("..") "\v" N_("..").
Sergey Poznyakoff f84215fa 2006-03-13T09:51:53 (validate_uparams): Fix typo
Sergey Poznyakoff a831084b 2006-01-21T19:06:40 (usage_long_opt): Do not print DOC options. (__argp_base_name): Removed
Sergey Poznyakoff 8f847f13 2005-12-10T21:37:29 (fill_in_uparams): Check if the constructed struct uparams is valid. Fall back to the default values if it is not.
Sergey Poznyakoff 0da83633 2005-12-09T12:28:58 (__argp_base_name): New function (__argp_short_program_name): Rewrite using __argp_base_name
Paul Eggert 222b0486 2005-09-19T17:28:14 Use a consistent style for including <config.h>. * __fpending.c, acl.c, argmatch.c, argp-help.c, argp-parse.c, argp-pvh.c, backupfile.c, basename.c, c-stack.c, calloc.c, check-version.c, cloexec.c, closeout.c, copy-file.c, creat-safer.c, cycle-check.c, dirfd.c, dirname.c, dup-safer.c, dup2.c, euidaccess.c, exclude.c, exitfail.c, fatal-signal.c, fd-safer.c, file-type.c, fileblocks.c, filemode.c, filenamecat.c, findprog.c, fnmatch.c, fopen-safer.c, free.c, fsusage.c, ftruncate.c, full-write.c, fwriteerror.c, getaddrinfo.c, getcwd.c, getdelim.c, getline.c, getlogin_r.c, getndelim2.c, getnline.c, getopt1.c, getpass.c, group-member.c, hard-locale.c, hash-pjw.c, hash.c, human.c, idcache.c, inet_ntop.c, isdir.c, long-options.c, malloc.c, memcasecmp.c, memcmp.c, memcoll.c, memcpy.c, memmove.c, mkdir-p.c, modechange.c, mountlist.c, open-safer.c, physmem.c, pipe-safer.c, pipe.c, poll.c, posixver.c, progname.c, progreloc.c, putenv.c, quote.c, quotearg.c, readline.c, readlink.c, realloc.c, regex.c, rename.c, rmdir.c, rpmatch.c, safe-read.c, same.c, save-cwd.c, savedir.c, sig2str.c, strcspn.c, strerror.c, stripslash.c, strncasecmp.c, strndup.c, strnlen.c, strnlen1.c, strsep.c, strstr.c, strtod.c, strtoimax.c, strtol.c, strverscmp.c, tempname.c, time_r.c, userspec.c, utimecmp.c, version-etc-fsf.c, version-etc.c, wait-process.c, xalloc-die.c, xgetcwd.c, xmalloc.c, xmemcoll.c, xnanosleep.c, xreadlink.c, xsetenv.c, xstrndup.c, xstrtoimax.c, xstrtol.c, xstrtoumax.c, yesno.c: Standardize inclusion of config.h. * __fpending.h, dirfd.h, getdate.h, human.h, inttostr.h: Removed inclusion of config.h from header files. * inttostr.c: Adjusted in-tree users. * timespec.h: Remove superfluous warning to include config.h. * atexit.c, chdir-long.c chown.c, fchown-stub.c, getgroups.c, gettimeofday.c, lchown.c, lstat.c, mkdir.c, mkstemp.c, nanosleep.c, openat.c, raise.c, readtokens0.c, readutmp.c, unlinkdir.c: Guard inclusion of config.h with HAVE_CONFIG_H.
Paul Eggert 267a39ba 2005-05-14T06:03:57 *** empty log message ***
Sergey Poznyakoff 5bc7f527 2005-02-02T23:28:03 (update copyright year)
Sergey Poznyakoff 30eb45af 2005-02-02T23:26:56 (__argp_help): Create a fake struct argp_state and pass it to _help, otherwise the latter coredumps trying to dereference state.root_argp.
Sergey Poznyakoff 7a5d837a 2005-01-24T13:06:58 (__argp_error): Check return value of __asprintf (__argp_failure): Translate error message
Sergey Poznyakoff cbb86267 2005-01-24T10:14:36 Avoid using non-constant initializers for struct pentry_state.
Paul Eggert 96175220 2004-09-30T16:41:30 (canon_doc_option): Fixed coredump if *name==NULL (hol_entry_help): Never translate an empty string. Do not translate option tag (opt->name) if OPTION_NO_TRANS is set
Paul Eggert 8c275683 2004-08-12T07:57:07 Use "gettext.h" instead of its complicated substitute. Include <errno.h>, for program_invocation_short_name and program_invocation_name. (__argp_basename) [!_LIBC]: Remove; the only use was replaced by its body. (__argp_short_program_name): Change condition from !defined __argp_short_program_name to ! (defined _LIBC || HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME), to match argp-namefrob.h. (__argp_failure): Don't assume strerror_r returns char *.
Paul Eggert 67f54c4c 2004-08-07T06:43:34 (make_hol, hol_append): Don't assume that SIZE_MAX is a valid preprocessor constant. (__argp_basename): Change from "#ifndef _LIBC" to "#ifndef __argp_short_program_name", so that we don't compile these functions for tar.
Paul Eggert dc8bf912 2004-05-18T05:18:40 Simplify argp by assuming alloca module.
Karl Berry 35bf0dc2 2004-04-04T13:32:34 update from glibc
Karl Berry bdfb5100 2003-11-29T13:37:46 argp update from libc
Karl Berry f81666cf 2003-10-04T12:28:06 argp update from libc
Karl Berry b3b35365 2003-09-25T12:21:19 updates from libc,automake
Paul Eggert 35b6e3c3 2003-08-13T20:23:14 Leave whitespace alone when importing, undoing that part of yesterday's changes.
Paul Eggert cbe703a1 2003-08-13T06:48:58 Normalize leading white space and remove trailing white space.
Paul Eggert a82fdff5 2003-07-08T23:25:13 Get lib/argp* from glibc.
Bruno Haible 46e647a1 2003-06-10T11:19:46 argp facility from glibc-20030610.