.. raw:: pdf

   PageBreak

tl-session-param
================

Synopsis
--------

**tl-session-param** [*options*] <*parameter*>

Description
-----------

The :program:`tl-session-param` command is used to access the session
information managed by the master. This includes information sent by the
client, such as if the client has exported any local drives, or what
language is set on the client side.

Options
-------

.. option:: -?, --help

   Prints a short help text and exits.

.. option:: -a, --all-entries

   Print all parameters and values in a folder

.. option:: -e, --eval=VAR=parameter

   Print parameter value in a format suitable for assignment to a shell
   variable, via evaluation.

Examples
--------

Print all the top level session information:

.. code:: console

   $ tl-session-param -a /

Set :environ:`LANG` to the client's language:

.. code:: console

   $ tl-session-param -e LANG=/client_params/capabilities/client_lang

Print the client's IP address:

.. code:: console

   $ tl-session-param /client_ip
