How can I use the "--" options in getopt.() function.?
Normally we gave "-" then character I used in my program -h for usage. I want to use the --h for help page.
How can I use the "--" options in getopt.() function.?
Normally we gave "-" then character I used in my program -h for usage. I want to use the --h for help page.
i only know getopt function from here. Getopt Long Option Example - The GNU C Library
there is a long options example which i linked to.