Parses the command line options and arguments.

    :returns: A :py:class:`argparse.Namespace` object created by the
              :py:mod:`argparse` module. It contains the values of the
              different options.

    ====================== ====== ================================
            Options         Type            Description
    ====================== ====== ================================
    ``--evec``             string The EVEC file from EIGENSOFT
    ``--scree-plot-title`` string The main title of the scree plot
    ``--out``              string The name of the output file
    ====================== ====== ================================

    .. note::
        No option check is done here (except for the one automatically done by
        :py:mod:`argparse`). Those need to be done elsewhere (see
        :py:func:`checkArgs`).

def parse_args(argString=None):
    """Parses the command line options and arguments.

    :returns: A :py:class:`argparse.Namespace` object created by the
              :py:mod:`argparse` module. It contains the values of the
              different options.

    ====================== ====== ================================
            Options         Type            Description
    ====================== ====== ================================
    ``--evec``             string The EVEC file from EIGENSOFT
    ``--scree-plot-title`` string The main title of the scree plot
    ``--out``              string The name of the output file
    ====================== ====== ================================

    .. note::
        No option check is done here (except for the one automatically done by
        :py:mod:`argparse`). Those need to be done elsewhere (see
        :py:func:`checkArgs`).

    """
    args = None
    if argString is None:
        args = parser.parse_args()
    else:
        args = parser.parse_args(argString)

    return args