code: def test_show_options():
      @click.command()
      @click.option("--hidden", hidden=True)
      @click.option("--normal", hidden=False)
      def _test_cmd(hidden, normal):
          """Test cmd."""
  
      ctx = click.Context(
          cast(click.Command, _test_cmd), info_name="_test_cmd"
      )
      opt_hidden = cast(click.Option, ctx.command.params[0])
      opt_normal = cast(click.Option, ctx.command.params[1])
  
      assert opt_hidden.hidden
      assert not opt_normal.hidden
  
      with _show_options(ctx):
          assert not opt_hidden.hidden
          assert not opt_normal.hidden
  
      assert opt_hidden.hidden
      assert not opt_normal.hidden
  
imports: from textwrap import dedent
  from typing import cast
  import click
  import pytest
  from mkdocs_click._docs import _show_options, make_command_docs
  from mkdocs_click._exceptions import MkDocsClickException
label_desc: Use image node_id 18 for calling a global function with example usage: test_show_options() without return types