Changes --sql option type to VALUE_NONE

When the option is used simply as a switch the type should be `VALUE_NONE`.