Jim Meyering
44d59bb168
Update FSF postal mail address.
2005-05-14 07:58:31 +00:00
Jim Meyering
c0c815af8d
Update FSF postal mail address.
2005-05-14 06:57:06 +00:00
Paul Eggert
d1bc398fa0
(main): Use getopt_long rather than getopt.
2004-11-17 00:56:25 +00:00
Paul Eggert
4fa016cbc9
Include <getopt.h>.
...
(main): Reject unknown options.
2004-09-21 22:01:50 +00:00
Jim Meyering
7870fa1081
(main): Handle "--".
2004-06-17 13:09:21 +00:00
Jim Meyering
4b5c8fe387
(usage): Use EXIT_SUCCESS, not 0, for clarity.
2004-01-21 23:45:53 +00:00
Jim Meyering
df81ab2911
Cast NULL to `(char *)' in call to variadic function,
...
parse_long_options, so that it works even on systems for which
sizeof char* != sizeof int.
2003-11-05 03:53:19 +00:00
Jim Meyering
cf4fdf373f
Most .c files (AUTHORS): Revert the WRITTEN_BY/AUTHORS change
...
of 2003-09-19. Now, AUTHORS is a comma-separated list of strings.
Update the call to parse_long_options so that `AUTHORS, NULL' are the
last parameters.
* src/true.c (main): Append NULL to version_etc argument list.
* src/sys2.h (case_GETOPT_VERSION_CHAR): Likewise.
2003-10-18 10:05:47 +00:00
Jim Meyering
bafd927f03
(WRITTEN_BY): Rename from AUTHORS.
...
Begin each WRITTEN_BY string with `Written by ' and end it with `.'.
Mark each WRITTEN_BY string as translatable.
2003-09-18 22:19:03 +00:00
Jim Meyering
c6ec144494
revert previous change
2003-09-18 19:39:12 +00:00
Jim Meyering
3280bf4b55
Update AUTHORS definition to be a comma-separated list of strings and/or update
...
the call to parse_long_options so that `AUTHORS, NULL' are the last parameters.
2003-09-18 18:22:23 +00:00
Jim Meyering
6bcd4b08ba
(main): Call initialize_main.
2003-06-17 18:13:23 +00:00
Jim Meyering
9153514495
Handle argc < optind.
2003-05-10 15:39:39 +00:00
Jim Meyering
4006f4e672
Change exit (0)' to exit (EXIT_SUCCESS)',
...
`exit (1)' to `exit (EXIT_FAILURE)', and
`usage (1)' to `usage (EXIT_FAILURE)'.
2002-08-31 08:52:10 +00:00
Jim Meyering
d23970e52e
(usage): Use the PACKAGE_BUGREPORT e-mail address, rather than hard-coding it.
2002-07-02 09:05:33 +00:00
Jim Meyering
f3ac2e7839
Use new macros, HELP_OPTION_DESCRIPTION and VERSION_OPTION_DESCRIPTION
...
instead of hard-coding --help and --version descriptions.
2001-12-02 22:26:57 +00:00
Jim Meyering
b15c6a222b
(usage): Make --help and --version strings start in column 7.
2001-11-24 08:01:39 +00:00
Jim Meyering
b78de3e724
Split usage strings so that --help and --version
...
descriptions are alone in their own string.
2001-11-23 20:10:25 +00:00
Jim Meyering
59b34eded2
(main): Likewise.
2001-01-17 10:28:46 +00:00
Jim Meyering
23c792f18c
update copyright date
2000-07-09 07:14:42 +00:00
Jim Meyering
81b16373ae
Arrange to call close_stdout only upon exit.
2000-05-13 06:49:53 +00:00
Jim Meyering
667799f7e2
Don't include closeout.h or version-etc.h explicitly. Now, they're included via sys2.h.
1999-03-31 05:59:13 +00:00
Jim Meyering
f0a21a933a
reorder includes
1999-03-26 14:12:32 +00:00
Jim Meyering
42884ec0c7
(PROGRAM_NAME, AUTHORS): Define and use.
1999-03-26 14:07:12 +00:00
Jim Meyering
61fa70ac19
Include long-options.h
...
[long_options]: Remove the "help" and "version" entries.
(main): Use parse_long_options, including author name(s).
Remove the show_version and show_help blocks.
1999-03-04 05:09:05 +00:00
Jim Meyering
07c6f5e387
update copyright dates
1999-02-16 04:14:17 +00:00
Jim Meyering
20bc02752b
(usage): Don't make it static so that it can be called from libfu.a by xargmatch.
1999-01-16 15:34:59 +00:00
Jim Meyering
08cfef16a2
update bug-reporting address
1998-09-19 17:17:58 +00:00
Jim Meyering
5d4f8ebdfd
(main, usage): Check for write error to stdout before exiting.
...
Include "closeout.h".
1998-01-04 22:45:28 +00:00
Jim Meyering
05bbdbd786
update bug-reporting address
1997-10-07 23:53:36 +00:00
Jim Meyering
b7ffe8cdaf
update copyrights for 1997
1997-02-09 04:52:50 +00:00
Jim Meyering
a882d55b52
bracket bug address with <> and append a period
1997-02-01 04:24:08 +00:00
Jim Meyering
5582e6dad3
change bug-reporting address
1996-11-03 03:16:27 +00:00
Jim Meyering
b8e689dc67
change bug-reporting address
1996-11-02 20:44:15 +00:00
Jim Meyering
4f28f318d8
(main): update --version output to conform to coding standard
1996-10-05 13:14:11 +00:00
Jim Meyering
c9fff51897
(usage): remove spurious trailing \n in puts.
1996-08-31 04:44:31 +00:00
Jim Meyering
7e294bac78
(usage): Tell where to report bugs.
1996-08-29 05:05:57 +00:00
Jim Meyering
dc98736719
update Copyright years for 1996
1996-04-24 04:42:21 +00:00
Jim Meyering
5de0b392f2
Update FSF's address.
1996-03-24 18:47:09 +00:00
Jim Meyering
bb6a548712
(main): Declare to be of type int, not void.
1996-03-21 22:45:19 +00:00
Jim Meyering
ca0246a4c1
Don't include version.h.
...
(main): Use PACKAGE_VERSION instead of version_string.
1996-03-16 16:49:28 +00:00
Jim Meyering
10c96c43ac
(main): Initialize for internationalized message support: call setlocale,
...
bindtextdomain, and textdomain.
1996-03-12 03:08:30 +00:00
Jim Meyering
073c4cb543
Mark all translatable strings using po-mode.el.
1995-11-29 19:24:52 +00:00
Jim Meyering
c0d94c89ec
Protoize.
1995-11-09 17:02:23 +00:00
Jim Meyering
ee79446888
(usage): Add one or two lines of descriptive text.
1995-05-22 04:30:18 +00:00
Jim Meyering
1423198343
add 1995 to Copyright dates
1995-03-10 04:15:06 +00:00
Jim Meyering
59097c0922
Include "error.h" rather than simply declaring `void error ();'.
1994-12-27 13:36:22 +00:00
Jim Meyering
410e779e8d
* sync.c (main): Make error message accurate.
1994-12-27 13:08:05 +00:00
Jim Meyering
5a31cea3d4
.
1994-10-08 00:34:54 +00:00
Jim Meyering
f17c045d21
.
1994-10-02 02:09:38 +00:00