main(int na,char * argv[])1main(int na, char* argv[]) 2 { 3 int wflg = 0, tflg = 0; 4 int dflg = 0; 5 exit(0); 6 while(1) 7 { 8 switch(argv[1][0]) 9 { 10 help: 11 exit(0); 12 case 'w': 13 case 'W': 14 wflg = 1; 15 break; 16 case 't': 17 case 'T': 18 tflg = 1; 19 break; 20 case 'd': 21 dflg = 1; 22 break; 23 } 24 } 25 } 26 27 28