comparison rvinterf/etmsync/fsiomain.c @ 280:f304f9bcde3b

fc-fsio: single command invokation implemented
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 24 Feb 2014 07:42:40 +0000
parents e23fc1228efd
children 792f164b63a6
comparison
equal deleted inserted replaced
279:36ad667341fc 280:f304f9bcde3b
60 exit(ERROR_USAGE); 60 exit(ERROR_USAGE);
61 } 61 }
62 connect_local_socket(); 62 connect_local_socket();
63 } 63 }
64 64
65 if (argv[optind])
66 return dispatch_ready_argv(argc - optind, argv + optind);
65 for (;;) { 67 for (;;) {
66 if (isatty(0)) { 68 if (isatty(0)) {
67 rx_control(0); 69 rx_control(0);
68 fputs("fsio> ", stdout); 70 fputs("fsio> ", stdout);
69 fflush(stdout); 71 fflush(stdout);