Jim Meyering
a9e9c226da
(main): Don't strip suffix from file system roots.
2006-03-26 11:59:58 +00:00
Paul Eggert
97603a5d2a
Don't use "path" or "filename".
2005-06-02 05:17:24 +00:00
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
e8a0c946f5
(usage): Add examples.
2005-04-05 22:21:50 +00:00
Paul Eggert
d1bc398fa0
(main): Use getopt_long rather than getopt.
2004-11-17 00:56:25 +00:00
Paul Eggert
0d219ee57d
Include <getopt.h>.
...
(main): Reject unknown options.
2004-09-21 22:01:28 +00:00
Jim Meyering
1ce7b61d0e
(main): Standardize on the diagnostics given when someone gives
...
too few operands ("missing operand after `xxx'") or
too many operands ("extra operand `xxx'").
Include "quote.h" and/or "error.h" if it wasn't already being included.
2004-06-21 15:03:35 +00:00
Jim Meyering
e77a63940a
(usage): Use EXIT_SUCCESS, not 0, for clarity.
2004-01-21 22:42:34 +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
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
4fd6d22880
(main): Handle argc == 0.
2003-05-10 20:27:16 +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
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
04a872f0d3
Include "dirname.h".
...
(base_name, strip_trailing_slashes): Remove decls; now in dirname.h.
(main): Use base_len instead of strip_trailing_slashes to strip
trailing slashes.
2001-05-12 16:05:12 +00:00
Jim Meyering
73ed5ed51e
Include "closeout.h".
...
(main): Call atexit with close_stdout.
2000-05-07 14:49:06 +00:00
Jim Meyering
5e1ffee4d6
(main): Manually handle `--', since we no longer
...
call getopt. Reported by Joseph S. Myers.
1999-05-01 02:29:17 +00:00
Jim Meyering
39090114f0
(PROGRAM_NAME, AUTHORS): Define and use.
1999-03-31 04:11:35 +00:00
Jim Meyering
ff743d5451
(main): Include author name argument in call to parse_long_options.
1999-03-04 14:02:14 +00:00
Jim Meyering
df7b9c808b
update copyright dates
1999-02-16 04:17:15 +00:00
Jim Meyering
276d118b10
(usage): Remove static attribute.
1999-01-25 14:33:38 +00:00
Jim Meyering
24a8bf2d3e
update bug-reporting address
1998-09-19 17:32:35 +00:00
Jim Meyering
5db3c9bdb4
update bug-reporting address
1997-10-07 23:51:39 +00:00
Jim Meyering
e4f25ca7b1
Use base_name, not basename.
1997-05-27 13:55:23 +00:00
Jim Meyering
7eb03c4372
update copyrights for 1997
1997-02-09 04:54:16 +00:00
Jim Meyering
899a90bfd9
bracket bug address with <> and append a period
1997-02-01 04:23:31 +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
f04044ed86
(main): update --version output to conform to coding standard
1996-10-05 16:37:57 +00:00
Jim Meyering
e9d17da073
(usage): Tell where to report bugs.
1996-09-02 15:52:45 +00:00
Jim Meyering
6580f24783
Mark translatable strings.
...
(main): Separate messages about `too few' and `too many'
arguments to ease translation.
From Franc,ois.
1996-04-30 03:26:34 +00:00
Jim Meyering
e6eece1575
update Copyright years for 1996
1996-04-24 04:45:54 +00:00
Jim Meyering
318a497768
Update FSF's address.
1996-03-24 18:33:12 +00:00
Jim Meyering
1954f681c6
(main): Declare to be of type int, not void.
1996-03-21 22:47:02 +00:00
Jim Meyering
3ee97d4d5b
Don't include version.h.
...
(main): Use PACKAGE_VERSION instead of version_string.
1996-03-16 16:14:26 +00:00
Jim Meyering
b14b621029
Remove __P-protected prototype for basename.
...
Reported by François Pinard.
(remove_suffix): Move to precede use. Remove prototype.
Declare formal parameter SUFFIX to be const.
1996-03-16 05:42:53 +00:00
Jim Meyering
6fc4ae7a28
(main): Initialize for internationalized message support:
...
call setlocale, bindtextdomain, and textdomain.
1996-03-12 23:49:29 +00:00
Jim Meyering
53398947a1
Protoize and __P-protect forward dcls.
1996-01-06 11:44:05 +00:00
Jim Meyering
635b1b5b6e
(usage): Add one- and two-line descriptions to --help output.
...
From Karl.
1995-05-15 04:53:56 +00:00
Jim Meyering
0d6850348c
add 1995 to Copyright dates
1995-03-09 22:33:05 +00:00
Jim Meyering
a9f1783e20
* src/*.c: Include "error.h" instead of simply declaring
...
`void error ();'.
1994-12-20 05:26:44 +00:00
Jim Meyering
b902a4439e
merge with 1.10t
1994-10-21 05:25:03 +00:00
Jim Meyering
ec90359f34
.
1994-10-01 02:52:05 +00:00