getopt - example of how to use getopt_long function
getopt [OPTIONS] ARG
getopt(1) is a good template to begin with a new CLI in C, based on a basic skeleton using getopt_long(3) to parse arguments.
-s or --string STRING Set string.
-n or --number NUMBER Set number.
-h or --help Display this message.
-V or --version Display the version.
Exits success if command-line is valid; exits failure otherwise.
See getopt.c.
Written by Gaël PORTAY gael.portay@gmail.com
Copyright (c) 2015-2017 Gaël PORTAY
This program is free software: you can redistribute it and/or modify it under the terms of the MIT License.