new command line options parsing with getopt. --clear, --clearnl, --nocursor