Commit bfeae248 authored by Claes Sjofors's avatar Claes Sjofors

plc program, argument -m to show I/O methods added

parent 173bba69
...@@ -178,6 +178,11 @@ int main ( ...@@ -178,6 +178,11 @@ int main (
i = 1/0; i = 1/0;
printf("%d\n", i); printf("%d\n", i);
*/ */
if ( argc > 1 && strcmp( argv[1], "-m") == 0) {
io_methods_print();
exit(0);
}
pp = init_process( argv[0]); pp = init_process( argv[0]);
if ( !pp) { if ( !pp) {
errh_Fatal("Plc process terminated"); errh_Fatal("Plc process terminated");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment