2014-08-21 try use getopt() in arg parser