Jim Meyering
72f51d66bf
(main): Recognize --help and --version even if POSIXLY_CORRECT is set.
2004-06-17 14:34:07 +00:00
Jim Meyering
e809d156e9
(main): Cast NULL to `(char *)' in
...
call to variadic version_etc function, so that it works even on systems
for which sizeof char* != sizeof int.
2003-11-05 03:43:30 +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
2ca6722ca4
(main): Append NULL to version_etc argument list.
2003-09-18 17:38:47 +00:00
Jim Meyering
db7745de98
Don't include headers already included by system.h:
...
Don't include version-etc.h.
2003-07-23 08:13:33 +00:00
Jim Meyering
4f4e9aa8e1
Don't include headers already included by system.h:
...
Don't include closeout.h.
2003-07-23 07:29:54 +00:00
Jim Meyering
6bcd4b08ba
(main): Call initialize_main.
2003-06-17 18:13:23 +00:00
Jim Meyering
08cf9aee8b
Add copyright.
...
(AUTHORS): I suppose I've written it.
2003-01-03 21:38:27 +00:00
Jim Meyering
be7f1936bd
undo last change
2002-07-24 08:24:12 +00:00
Jim Meyering
334294f09d
(main): Add an explicit `exit (EXIT_SUCCESS);'
...
for --version, rather than falling through.
2002-07-20 15:18:37 +00:00
Jim Meyering
2ee11887cd
(usage): Use the PACKAGE_BUGREPORT e-mail address, rather than hard-coding it.
2002-07-02 09:09:10 +00:00
Jim Meyering
2fae9e5d26
Use new macros, HELP_OPTION_DESCRIPTION and VERSION_OPTION_DESCRIPTION
...
instead of hard-coding --help and --version descriptions.
Split --help output into smaller pieces.
Use fputs, not printf.
2001-12-15 20:46:30 +00:00
Jim Meyering
9e1b4e382a
(usage): Indent --help and --version strings to start in the 7th column.
2001-11-25 14:46:05 +00:00
Jim Meyering
70e5178bde
(usage): Don't call close_stdout directly, since that
...
didn't cover --version output.
(main): Arrange to call close_stdout via atexit, instead.
2000-05-11 07:21:33 +00:00
Jim Meyering
309c1c3e47
Include "closeout.h".
...
(usage): Call close_stdout just before exit.
2000-05-07 14:47:44 +00:00
Jim Meyering
7cdcf3b47a
Honor --help and --version once again, though now
...
only if POSIXLY_CORRECT is set.
1999-08-06 10:14:52 +00:00
Jim Meyering
707f9870ba
*** empty log message ***
1999-08-04 11:14:55 +00:00
Jim Meyering
5d4eefe8d8
.
1999-07-31 17:44:02 +00:00