Skip to content

Commit

Permalink
Document --language option
Browse files Browse the repository at this point in the history
  • Loading branch information
pekkaklarck committed Oct 18, 2022
1 parent dadcc5c commit b73aa05
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions doc/userguide/src/Appendices/CommandLineOptions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ Command line options for test execution
---------------------------------------

--rpa Turn on `generic automation`_ mode.
--language <lang> `Activate the specified language <Localization_>`__.
`lang` can be a name or a code of a
`built-in language <Translations_>`__
to active or a path or a module name of a custom
language file.
-F, --extension <value> `Parse only these files`_ when executing a directory.
-N, --name <name> `Sets the name`_ of the top-level test suite.
-D, --doc <document> `Sets the documentation`_ of the top-level test suite.
Expand Down
4 changes: 3 additions & 1 deletion src/robot/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@
terminology so that "test" is replaced with "task"
in logs and reports. By default the mode is got
from test/task header in data files.
--language lang * Activate the specified language. `lang` can be a name
or a code of a built-in language to active or a path
or a module name of a custom language file.
-F --extension value Parse only files with this extension when executing
a directory. Has no effect when running individual
files or when using resource files. If more than one
Expand All @@ -98,7 +101,6 @@
-N --name name Set the name of the top level suite. By default the
name is created based on the executed file or
directory.
--language lang * TODO
-D --doc documentation Set the documentation of the top level suite.
Simple formatting is supported (e.g. *bold*). If the
documentation contains spaces, it must be quoted.
Expand Down

0 comments on commit b73aa05

Please sign in to comment.