generate synopsis for global command from config-spec
add --config global param
fix check for completions in WP_CLI::error()