Author: pekka.klarck
Date: Mon Feb 23 11:34:36 2009
New Revision: 1340
Modified:
trunk/src/robot/rebot.py
trunk/src/robot/runner.py
trunk/src/robot/utils/argumentparser.py
Log:
1) Add '*' for --argumentfile option, 2) Slightly better doc for
argumentfile in argument parser
Modified: trunk/src/robot/rebot.py
==============================================================================
--- trunk/src/robot/rebot.py (original)
+++ trunk/src/robot/rebot.py Mon Feb 23 11:34:36 2009
@@ -188,7 +188,7 @@
Examples:
--escape space:_ --metadata X:Value_with_spaces
-E space:SP -E quot:Q -v var:QhelloSPworldQ
- -A --argumentfile path Text file to read more arguments from. File can
have
+ -A --argumentfile path * Text file to read more arguments from. File can
have
both options and data sources one per line.
Contents
don't need to be escaped but spaces in the
beginning
and end of lines are removed. Empty lines and
lines
Modified: trunk/src/robot/runner.py
==============================================================================
--- trunk/src/robot/runner.py (original)
+++ trunk/src/robot/runner.py Mon Feb 23 11:34:36 2009
@@ -241,7 +241,7 @@
Examples:
--escape space:_ --metadata X:Value_with_spaces
-E space:SP -E quot:Q -v var:QhelloSPworldQ
- -A --argumentfile path Text file to read more arguments from. File can
have
+ -A --argumentfile path * Text file to read more arguments from. File can
have
both options and data sources one per line.
Contents
do not need to be escaped but spaces in the
beginning
and end of lines are removed. Empty lines and
lines
Modified: trunk/src/robot/utils/argumentparser.py
==============================================================================
--- trunk/src/robot/utils/argumentparser.py (original)
+++ trunk/src/robot/utils/argumentparser.py Mon Feb 23 11:34:36 2009
@@ -100,10 +100,10 @@
'argfile' can be used to automatically read arguments from
specified
file. Given value must be the name of the long option used for
giving
- the argument file. Typical usage is '--argumentfile path' in usage
doc
+ the argument file. Typical usage is '--argumentfile path *' in
usage doc
and calling this method with 'argfile="argumentfile"'.
If 'argfile' is
used, it can always be given multiple times and thus it is
recommended
- to use '*' to denote that (even though '*' is actually ignored).
+ to use '*' to denote that.
'pythonpath' can be used to specify option(s) containing extra
paths to
be added into 'sys.path'. Value can be either a string containing
the