Remove trailing whitespaces
Remove unused option
Use boost::program_options instead of POSIX-only getopt