@staticmethod
def _remove_options_parameters(args):
    """
        Removes options parameters.
        Returns a list of argument parameters only.
        """
    tmp_args = args[:]
    for arg in tmp_args:
        if arg.startswith('-'):
            index = tmp_args.index(arg)
            try:
                tmp_args.pop(index)
                tmp_args.pop(index)
            except IndexError:
                pass
            continue
    return tmp_args
