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 013ba1f836
commit 26952bf8f0
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> 2006-09-01 Joerg Wunsch <j@uriah.heep.sax.de>
Contributed by <avrdude@zevv.nl> as Contributed by <avrdude@zevv.nl> as

4
main.c
View File

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