.. _Including Other Argument Files:

Including Other Argument Files
==============================

You can include other argument files with ``-f``, ``-F`` or ``-file``:

 -f /path/to/argument/file.f

The ``-f`` and ``-file`` directives are equivalent, except for the vcs compatibility mode. In the vcs compatibility mode :ref:`Strings` are handled differently when using ``-f`` or ``-file``.

The behavior of ``-F`` is not consistent across simulators, so DVT treats it according to the :ref:`Compatibility Modes`:

dvt, vcs
    when analyzing the contents of the included argument file, *all* relative paths are resolved as relative to the parent directory of the *argument file*; in other words, this is equivalent to changing the *compilation root* to be the parent directory of the *argument file*

ius, questa
    relative paths are solved like in **dvt** and **vcs** modes, except:
    
    -  for ``-v``, ``-y`` and ``+incdir`` directives, if solving relative paths to the *argument file* parent fails, they are solved relative to the *compilation root*
    -  for ``-f`` directives, relative paths are always solved as relative to the *compilation root*


