1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-06-07 10:16:46 +02:00
Commit Graph

49 Commits

Author SHA1 Message Date
Jim Meyering 6bcd4b08ba (main): Call initialize_main. 2003-06-17 18:13:23 +00:00
Jim Meyering 8a7f744635 Handle argc < optind. 2003-05-10 14:58:15 +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 9590fbf43c (usage): Don't call close_stdout_status directly,
since that didn't cover --version output.
(main): Instead, call close_stdout_set_status and arrange to
call close_stdout via atexit.
2000-05-11 07:24:05 +00:00
Jim Meyering c141f3a34e (main): Warn about arguments, don't fail.
(usage): Call close_stdout_status from here as well as from main.
2000-05-06 13:18:00 +00:00
Jim Meyering fdd07e3d2b No longer include long-options.h.
[long_options]: Add entries for --help and --version.
Remove parse_long_options call.
(main) [getopt switch]: Add a case for each of --help and --version.
1999-03-31 05:52:46 +00:00
Jim Meyering 03c1b8518c (PROGRAM_NAME, AUTHORS): Define and use. 1999-03-31 04:16:08 +00:00
Jim Meyering 5b2aa1846b Include long-options.h.
[long_options]: Remove the "help" and "version" entries.
Remove declarations of show_help and show_version.
(main): Use parse_long_options, including author name(s).
Remove the show_version and show_help blocks.
1999-03-06 15:28:54 +00:00
Jim Meyering 54f4eb2224 (usage): Remove static attribute.
Move function be the first in the file.
1999-01-25 14:30:08 +00:00
Jim Meyering dc4fd4c43b Include closeout.h. (main): Use close_stdout_status. 1999-01-14 15:36:50 +00:00
Jim Meyering 24a8bf2d3e update bug-reporting address 1998-09-19 17:32:35 +00:00
Jim Meyering f3c14cb59f revert back to using lower case _unlocked wrapper names 1998-06-29 16:24:01 +00:00
Jim Meyering c5eb9edf26 Change all uses of unlocked-wrapped functions to their upper case wrapper names. 1998-06-29 02:13:21 +00:00
Jim Meyering 2e308957d4 s/__P/PARAMS/ 1997-12-21 22:30:30 +00:00
Jim Meyering 5db3c9bdb4 update bug-reporting address 1997-10-07 23:51:39 +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 b8c82a8e39 Compare getopt_long return value against -1, not EOF. Use NULL, not '(int *) 0' as last parameter in getopt_long call. 1997-02-01 03:05:36 +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 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 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 57ec0f45c9 s/non-zero/nonzero/g 1995-11-27 05:34:31 +00:00
Jim Meyering f0556f3517 Annotate localizable strings with _(...). From Franc,ois. 1995-08-08 04:37:34 +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 ec90359f34 . 1994-10-01 02:52:05 +00:00
Jim Meyering 0a0800fe25 merge with 1.10n2 1994-09-27 22:02:00 +00:00
Jim Meyering e628e7bb9e . 1994-04-20 00:23:45 +00:00
Jim Meyering 75a474834b . 1994-02-01 14:11:50 +00:00
Jim Meyering d7c526e66d merge with 1.8.1i 1993-10-26 00:11:14 +00:00
Jim Meyering cfe240bbd8 merge with 1.8.1h 1993-10-24 21:30:08 +00:00
Jim Meyering fa7a1e19e2 merge with 1.8.1g 1993-10-17 03:57:04 +00:00
Jim Meyering 44c053f008 merge with 1.8.1d 1993-10-12 14:49:11 +00:00
Jim Meyering 87fa23e641 merge with 1.8.1b 1993-10-12 01:52:24 +00:00
Jim Meyering ae0074289c merge with 1.8.1 + partial --version and --help 1993-09-08 18:23:12 +00:00
Jim Meyering 9d2ef3292f Convert static declarations of struct option to use new macros from
getopt.h: no_argument, required_argument, and optional_argument.
1992-12-02 18:51:53 +00:00
Jim Meyering 88b7056046 all files: make most variables static and const when possible.
declare lots of functions static.
1992-11-12 04:14:54 +00:00
Jim Meyering f33e06711c Make still more file-scope variables `static'. 1992-11-01 07:01:40 +00:00
Jim Meyering ccbd1d7dc5 Initial revision 1992-11-01 05:44:29 +00:00