1 |
/* Generate the Closed-Date field for an existing GNATS database. |
/* Generate the Closed-Date field for an existing GNATS database. |
2 |
Copyright (C) 2001 Milan Zamazal |
Copyright (C) 1993, 1995, 2001, 2002 Free Software Foundation, Inc. |
|
Copyright (C) 1993, 1995 Free Software Foundation, Inc. |
|
3 |
Contributed by Rick Macdonald (rickm@vsl.com). |
Contributed by Rick Macdonald (rickm@vsl.com). |
4 |
Further hacked by Milan Zamazal (pdm@zamazal.org). |
Further hacked by Milan Zamazal (pdm@zamazal.org). |
5 |
|
|
51 |
-o --outfile=FILENAME output the date to FILENAME\n\ |
-o --outfile=FILENAME output the date to FILENAME\n\ |
52 |
-t --test report changes to be made, but don't change the files\n\ |
-t --test report changes to be made, but don't change the files\n\ |
53 |
\n\ |
\n\ |
54 |
-h --help display this help and exit\n\ |
-h --help display this help and exit\n\ |
55 |
-V --version output version information and exit\n", |
-V --version output version information and exit\n", |
56 |
NULL}; |
NULL}; |
57 |
|
|
58 |
typedef struct entry |
typedef struct entry |
313 |
|
|
314 |
program_name = (char *) basename (argv[0]); |
program_name = (char *) basename (argv[0]); |
315 |
|
|
316 |
while ((optc = getopt_long (argc, argv, "o:c:htd:V", |
while ((optc = getopt_long (argc, argv, "o:htd:V", |
317 |
long_options, (int *) 0)) != EOF) |
long_options, (int *) 0)) != EOF) |
318 |
{ |
{ |
319 |
switch (optc) |
switch (optc) |