getopt with short option in input