allow a single symbol to be passed in for flags instead of requiring an array with a single item