Add date and time of compilation to the verbose greeting message.

Idea taken from patch #3172: Adds date and time of compile to usage
message


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@642 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Joerg Wunsch 2006-09-01 21:15:03 +00:00
parent 86f70682e2
commit 7c235970a1
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2006-09-01 Joerg Wunsch <j@uriah.heep.sax.de>
* main.c: Add date and time of compilation to the verbose
greeting message.
Idea taken from patch #3172: Adds date and time of compile
to usage message
2006-09-01 Joerg Wunsch <j@uriah.heep.sax.de>
Contributed by <avrdude@zevv.nl> as

4
main.c
View File

@ -946,9 +946,9 @@ int main(int argc, char * argv [])
* they are running
*/
fprintf(stderr,
"\n%s: Version %s\n"
"\n%s: Version %s, compiled on %s at %s\n"
"%sCopyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/\n\n",
progname, version, progbuf);
progname, version, __DATE__, __TIME__, progbuf);
}
if (verbose) {