suppose i have a program in which there are two arguements 'a' and 'b'
the program is such that i will work iff
-either 'a' or 'b' is present as an option to it
-both 'a' and 'b' cant be present sameltaneously
-either of the two should be there
I want to know is there any way in the function getopt or getopt_long
that can help me in doing this
Thanks in advance
the program is such that i will work iff
-either 'a' or 'b' is present as an option to it
-both 'a' and 'b' cant be present sameltaneously
-either of the two should be there
I want to know is there any way in the function getopt or getopt_long
that can help me in doing this
Thanks in advance
Comment