Let's say I made a C program called like this:
./something -d dopt filename
So, -d is the command, dopt is the optional -d argument, and filename is the ./something argument, because I can also call ./something filename .
What is the getopt form for representing get filename?
source share