Hello Hermann! Thanks for the answer. I just wondered about the logic of it all. It goes like this: first check first argument or one before last (which is OK for an input_port) Then check second argument or two before last (Why two before last, should it be last, so the possible succession is: jack_connect in_port out_port or: jack_connect [options] in_port out_port But that way the second form would be: jack_connect [options] out_port in_port [one other option] I just wonder... Btw.: I think this is not good at all, at least when I see it as it is there. Because: if (first two argv[]s no options) if in_port in argv[1] if out_port in argv[2] else // first one is an option if in_port in argv[argc-1] if out_port in argv[argc] // end else Kindest regards Julien -------- Music was my first love and it will be my last (John Miles) ======== FIND MY WEB-PROJECT AT: ======== http://ltsb.sourceforge.net the Linux TextBased Studio guide ======= AND MY PERSONAL PAGES AT: ======= http://www.juliencoder.de _______________________________________________ Linux-audio-user mailing list Linux-audio-user@xxxxxxxxxxxxxxxxxxxx http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user