diff --git a/avrdude/main.c b/avrdude/main.c index f10a9257..8355561e 100644 --- a/avrdude/main.c +++ b/avrdude/main.c @@ -109,14 +109,27 @@ int do_cycles; /* track erase-rewrite cycles */ */ void usage(void) { - fprintf(stderr, - "\nUsage: %s -p partno [-e] [-E exitspec[,exitspec]] [-f format] " - "[-F]\n" - " %s[-i filename] [-m memtype] [-o filename] [-P port] " - "[-t]\n" - " %s[-c programmer] [-C config-file] [-v [-v]] [-n]\n\n", - progname, progbuf, progbuf); - + printf( + "Usage: %s [options]\n" + "Options:\n" + " -p Required. Specify AVR device.\n" + " -C Specify location of configuration file.\n" + " -c Specify programmer type.\n" + " -P Specify connection port.\n" + " -F Override invalid signature check.\n" + " -e Perform a chip erase.\n" + " -m Memory type to operate on.\n" + " -i Write device. Specify an input file.\n" + " -o Read device. Specify an output file.\n" + " -f Specify the file format.\n" + " -n Do not write anything to the device.\n" + " -V Do not verify.\n" + " -t Enter terminal mode.\n" + " -E [,] List programmer exit specifications.\n" + " -v Verbose output. An additional -v can be added.\n" + " -? Display this usage.\n" + "\navrdude project: \n" + ,progname); }