pce.c
changeset 8 897b154201f8
parent 7 daa76fbc50aa
child 10 fc8a8cfe680a
equal deleted inserted replaced
7:daa76fbc50aa 8:897b154201f8
   241 void
   241 void
   242 usage()
   242 usage()
   243 {
   243 {
   244     fprintf(stderr, "pce v0.1 - PCE-HT71 programmer and data downloader\n");
   244     fprintf(stderr, "pce v0.1 - PCE-HT71 programmer and data downloader\n");
   245     fprintf(stderr, "Copyright (C) 2010  Lluis Batlle i Rossell\n");
   245     fprintf(stderr, "Copyright (C) 2010  Lluis Batlle i Rossell\n");
   246     fprintf(stderr, "usage: pce [-n maxsamples] [-t timepersample] [-i] <-d downloadfile | -s>\n");
   246     fprintf(stderr, "This program comes with ABSOLUTELY NO WARRANTY.\n");
       
   247     fprintf(stderr, "This is free software, and you are welcome to redistribute it\n");
       
   248     fprintf(stderr, "under certain conditions; type `show c' for details.\n");
       
   249     fprintf(stderr, "\nusage: pce [-n maxsamples] [-t timepersample] [-i] <-d downloadfile | -s>\n");
   247 }
   250 }
   248 
   251 
   249 int main(int argc, char **argv)
   252 int main(int argc, char **argv)
   250 {
   253 {
   251     int res;
   254     int res;