comparison loadtools/ltmain.c @ 51:aa62352647f7

loadtools: -b option works in fc-loadtool
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 23 Jun 2013 03:38:09 +0000
parents 16315ed6401a
children ccc5161848c7
comparison
equal deleted inserted replaced
50:f1df95eed62c 51:aa62352647f7
21 extern char *optarg; 21 extern char *optarg;
22 extern int optind; 22 extern int optind;
23 int c; 23 int c;
24 char command[512]; 24 char command[512];
25 25
26 while ((c = getopt(argc, argv, "a:h:H:i:")) != EOF) 26 while ((c = getopt(argc, argv, "a:b:h:H:i:")) != EOF)
27 switch (c) { 27 switch (c) {
28 case 'a': 28 case 'a':
29 iramimage.filename = optarg; 29 iramimage.filename = optarg;
30 continue;
31 case 'b':
32 set_romload_baudrate(optarg);
30 continue; 33 continue;
31 case 'h': 34 case 'h':
32 read_hwparam_file_shortname(optarg); 35 read_hwparam_file_shortname(optarg);
33 continue; 36 continue;
34 case 'H': 37 case 'H':