getopt/char/default sample