Usage back to stderr.

git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@224 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
arcanum 2003-02-24 17:27:38 +00:00
parent 4e1e3d01aa
commit 1ff068469e
1 changed files with 21 additions and 21 deletions

4
main.c
View File

@ -72,7 +72,7 @@ int do_cycles; /* track erase-rewrite cycles */
*/
void usage(void)
{
printf(
fprintf(stderr,
"Usage: %s [options]\n"
"Options:\n"
" -p <partno> Required. Specify AVR device.\n"
@ -89,7 +89,7 @@ void usage(void)
" -V Do not verify.\n"
" -t Enter terminal mode.\n"
" -E <exitspec>[,<exitspec>] List programmer exit specifications.\n"
" -v Verbose output. An additional -v can be added.\n"
" -v Verbose output. -v -v for more.\n"
" -? Display this usage.\n"
"\navrdude project: <URL:http://savannah.nongnu.org/projects/avrdude>\n"
,progname);