Pring usage when no arguments are supplied.

git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@5 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
bsd 2000-08-05 05:14:17 +00:00
parent 2e3fb8371b
commit d8be445872
1 changed files with 5 additions and 0 deletions

View File

@ -525,6 +525,11 @@ int main ( int argc, char * argv [] )
else
progname = argv[0];
if (argc == 1) {
usage();
return 0;
}
while ((ch = getopt(argc,argv,"?efo:ru:")) != -1) {
switch (ch) {
case 'e':