summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-03-26 14:07:12 +0000
committerJim Meyering <jim@meyering.net>1999-03-26 14:07:12 +0000
commit42884ec0c7e1a1cff0af184f92d848493470547f (patch)
treea6d2b8baef36515654cc0a15571fc37c6b1550f4
parentc227e4a167030ad25722f23112579da0cc654cbb (diff)
downloadcoreutils-42884ec0c7e1a1cff0af184f92d848493470547f.tar.xz
(PROGRAM_NAME, AUTHORS): Define and use.
-rw-r--r--src/sync.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/sync.c b/src/sync.c
index 2d9e588a0..fcb5546a2 100644
--- a/src/sync.c
+++ b/src/sync.c
@@ -15,7 +15,7 @@
along with this program; if not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-/* Jim Meyering <meyering@comco.com> */
+/* Written by Jim Meyering */
#include <config.h>
#include <stdio.h>
@@ -26,6 +26,11 @@
#include "closeout.h"
#include "error.h"
+/* The official name of this program (e.g., no `g' prefix). */
+#define PROGRAM_NAME "sync"
+
+#define AUTHORS "Jim Meyering"
+
/* The name this program was run with. */
char *program_name;
@@ -58,8 +63,8 @@ main (int argc, char **argv)
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
- parse_long_options (argc, argv, "sync", GNU_PACKAGE, VERSION,
- "Jim Meyering", usage);
+ parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
+ AUTHORS, usage);
if (argc != 1)
error (0, 0, _("ignoring all arguments"));