Output an error message if -g conflicts with other options requiring data access.