added quick demo of getopt