Revision: 19d66b132339
Branch: default
Author: Mikko Korpela <[email protected]>
Date: Fri Jan 31 12:55:12 2014 UTC
Log: Application: parse_arguments: Add docstring
http://code.google.com/p/robotframework/source/detail?r=19d66b132339
Modified:
/src/robot/utils/application.py
=======================================
--- /src/robot/utils/application.py Fri Jan 31 12:34:45 2014 UTC
+++ /src/robot/utils/application.py Fri Jan 31 12:55:12 2014 UTC
@@ -69,6 +69,13 @@
return options, arguments
def parse_arguments(self, cli_args):
+ """Public interface for parsing command line arguments.
+
+ :param cli_args: Command line arguments as a list
+ :returns: options (dict), arguments (list)
+ :raises: :class:`~robot.errors.Information` when --help or
--version used
+ :raises: :class:`~robot.errors.DataError` when parsing fails
+ """
return self._ap.parse_args(cli_args)
def execute(self, *arguments, **options):
--
---
You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.