ldsearch: changed the command line args so they use flags