   end
 
   def t(invalid) do
-    puts_error("Invalid arguments for t helper: #{inspect invalid}")
+    puts_error("Invalid arguments for t helper: #{inspect(invalid)}")
     dont_display_result()
   end
 
   defp print_type_doc(module, type) do
-    docs  = Code.get_docs(module, :type_docs)
-    {_, _, _, content} = Enum.find(docs, fn({{name, _}, _, _, _}) ->
-      type == name
-    end)
+    docs = Code.get_docs(module, :type_docs)
+    {_, _, _, content} = Enum.find(docs, fn {{name, _}, _, _, _} -> type == name end)
     if content, do: puts_info(content)
   end
 

  defp print_callback_docs(mod, filter, printer) do
    case get_callback_docs(mod) do
      {callbacks, docs} ->
        docs
        |> Enum.filter(filter)
        |> Enum.map(fn
          {{fun, arity}, _, :macrocallback, doc} ->
            print_callback_docs(fun, :macrocallback, doc, {:"MACRO-#{fun}", arity + 1}, callbacks, printer)
          {{fun, arity}, _, kind, doc} ->
            print_callback_docs(fun, kind, doc, {fun, arity}, callbacks, printer)
        end)
        |> case do
          [] -> :not_found
          _ -> :ok
        end
      other ->
        other
    end

    dont_display_result()
  end

  def s({module, function, arity})
      when is_atom(module) and is_atom(function) and is_integer(arity) do
    case Typespec.beam_specs(module) do
      nil ->
        no_beam(module)

      specs ->
        printed =
          for {{^function, ^arity}, _} = spec <- specs do
