Why not simply using u_int64_t instead of unsigned long long & sizeof() check?
Why not simply using getopt() instead of parsing command line manually?
Why not simply using the gengetopt option-parser-generator?
