Get opt from command line