Jim Meyering
|
c6ec144494
|
revert previous change
|
2003-09-18 19:39:12 +00:00 |
|
Jim Meyering
|
6e1f55d40f
|
Include stdarg.h.
(parse_long_options): Make this function variadic (authors), too.
Call version_etc_va, not version_etc.
|
2003-09-18 18:13:18 +00:00 |
|
Jim Meyering
|
06d7d0633c
|
Include long-options.h first, to test interface.
Include <stdlib.h> unconditionally.
|
2003-09-10 08:49:38 +00:00 |
|
Jim Meyering
|
0937f50e9e
|
comment tweak
|
2002-12-01 12:10:41 +00:00 |
|
Jim Meyering
|
f9362b8897
|
Don't include libintl.h, and don't define `_' -- they're not used.
|
2002-11-14 14:38:03 +00:00 |
|
Jim Meyering
|
2aab0b6a6c
|
Include <stdlib.h>, for declaration of exit.
|
2000-06-29 11:24:09 +00:00 |
|
Jim Meyering
|
aa1ddd2e7d
|
Don't include closeout.h.
(parse_long_options): Don't call close_stdout for --version.
|
2000-05-08 10:09:28 +00:00 |
|
Jim Meyering
|
2a147b2b43
|
(parse_long_options): Remove version-, copyright-,
and author-printing code. Do it via version_etc.
|
1999-03-26 04:19:07 +00:00 |
|
Jim Meyering
|
be65d0ad03
|
restore blank lines in --version output
|
1999-03-07 17:48:10 +00:00 |
|
Jim Meyering
|
7fbb24fe4e
|
(parse_long_options): Include `Copyright...' line in --version output.
|
1999-03-07 16:43:15 +00:00 |
|
Jim Meyering
|
2cd167fba1
|
(parse_long_options): Add the `...NO warranty...' message.
|
1999-03-07 15:53:20 +00:00 |
|
Jim Meyering
|
e35e21e280
|
(_): Define it.
(parse_long_options): Accept new parameter, authors, and print it.
|
1999-03-04 05:08:01 +00:00 |
|
Jim Meyering
|
d2e1175756
|
(parse_long_options): Rename `usage' parameter
to avoid shadowing globally scoped function.
|
1999-01-14 18:26:51 +00:00 |
|
Jim Meyering
|
bfbc3ce20c
|
Use #if, not #ifdef with HAVE_ macros
|
1998-03-15 11:09:10 +00:00 |
|
Jim Meyering
|
b246280c27
|
(parse_long_options): Check for write error to stdout before exiting.
|
1998-01-04 22:43:44 +00:00 |
|
Jim Meyering
|
1b5a74d1a7
|
(parse_long_options): Compare getopt_long return
value against -1, not EOF. Use NULL, not `(int *) 0' as last parameter
in getopt_long call.
|
1997-02-03 05:06:27 +00:00 |
|
Jim Meyering
|
175fb661e0
|
(parse_long_options): Reset optind to zero
before just returning so that getopt internals get initialized from
the probably-new parameters when/if getopt is called later.
|
1997-01-25 05:37:15 +00:00 |
|
Jim Meyering
|
6f67177fae
|
(parse_long_options): Separate package name
and version number to accomodate new --version output requirement.
|
1996-10-04 12:21:39 +00:00 |
|
Jim Meyering
|
1df37f767c
|
update FSF address in copyright and remove any trailing blanks
|
1996-07-15 02:41:49 +00:00 |
|
Jim Meyering
|
4d00132265
|
Remove trailing white space.
|
1995-05-26 15:08:55 +00:00 |
|
Jim Meyering
|
b2e7f0596a
|
Initial revision
|
1994-10-02 22:50:11 +00:00 |
|