summaryrefslogtreecommitdiff
path: root/src/tee.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-03-31 04:16:08 +0000
committerJim Meyering <jim@meyering.net>1999-03-31 04:16:08 +0000
commit03c1b8518c2295aebc9e723686d650162059ee96 (patch)
tree1cc62eb21d03f319983491bda793aae61306bc92 /src/tee.c
parent39090114f0812d93ce9c065a6f2fae02f6e06d50 (diff)
downloadcoreutils-03c1b8518c2295aebc9e723686d650162059ee96.tar.xz
(PROGRAM_NAME, AUTHORS): Define and use.
Diffstat (limited to 'src/tee.c')
-rw-r--r--src/tee.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/tee.c b/src/tee.c
index f0d3aad0e..e71fa6112 100644
--- a/src/tee.c
+++ b/src/tee.c
@@ -28,6 +28,11 @@
#include "error.h"
#include "long-options.h"
+/* The official name of this program (e.g., no `g' prefix). */
+#define PROGRAM_NAME "tee"
+
+#define AUTHORS "Mike Parker, Richard M. Stallman, and David MacKenzie"
+
int full_write ();
static int tee PARAMS ((int nfiles, const char **files));
@@ -81,9 +86,8 @@ main (int argc, char **argv)
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
- parse_long_options (argc, argv, "tee", GNU_PACKAGE, VERSION,
- "Mike Parker, Richard M. Stallman, and David MacKenzie",
- usage);
+ parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
+ AUTHORS, usage);
append = 0;
ignore_interrupts = 0;