FreeCalypso > hg > freecalypso-tools
comparison rvinterf/etmsync/fsiomain.c @ 19:c6469ecfea56
fc-fsio: '+' in the getopt string so ls -l single op command will work
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 22 Oct 2016 04:42:57 +0000 |
parents | e7502631a0f9 |
children | 24cb10d508d7 |
comparison
equal
deleted
inserted
replaced
18:d9307880f59f | 19:c6469ecfea56 |
---|---|
16 extern int optind; | 16 extern int optind; |
17 extern char *optarg; | 17 extern char *optarg; |
18 int c, sopt = 0; | 18 int c, sopt = 0; |
19 char command[512]; | 19 char command[512]; |
20 | 20 |
21 while ((c = getopt(argc, argv, "B:l:p:s:w:")) != EOF) | 21 while ((c = getopt(argc, argv, "+B:l:p:s:w:")) != EOF) |
22 switch (c) { | 22 switch (c) { |
23 case 'B': | 23 case 'B': |
24 rvinterf_Bopt = optarg; | 24 rvinterf_Bopt = optarg; |
25 continue; | 25 continue; |
26 case 'l': | 26 case 'l': |