fix short options in getopt

Signed-off-by: Thiago Rondon <thiago.rondon@gmail.com>