theurbanpenguin.com
Using getopt to Parse Arguments in C - The Urban Penguin
Using getopt in the C programming Language allows us to parse options to our programs. Learn how to read options like -u, -l etc when writing in C.