You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/developer/developer-eclipse-setup-with-oomph.mdx
+1-1
Original file line number
Diff line number
Diff line change
@@ -109,7 +109,7 @@ Hello World.
109
109
110
110
This should print "Hello World".
111
111
112
-
We strongly recommend browsing the system tests, which provide a concise overview of the capabilities of Lingua Franca. You can set up a project in the IDE for this using [these instructions](<../developer/regression-tests.mdx#browsing-and-editing-examples-in-the-lf-ide>).
112
+
We strongly recommend browsing the [integration tests](regression-tests.mdx), which provide a concise overview of the capabilities of Lingua Franca.
Copy file name to clipboardExpand all lines: docs/reference/target-declaration.mdx
+3-4
Original file line number
Diff line number
Diff line change
@@ -28,9 +28,8 @@ A target specification may have optional parameters, the names and values of whi
28
28
-[**build-type**](#build-type): One of Debug (the default), Release, RelWithDebInfo and MinSizeRel.
29
29
-[**cargo-dependencies**](#cargo-dependencies): (Rust only) list of dependencies to include in the generated Cargo.toml file.
30
30
-[**cargo-features**](#cargo-features): (Rust only) List of string names of features to include.
31
-
-[**cmake-include**](#cmake): List of paths to cmake files to guide compilation.
31
+
-[**cmake-include**](#cmake-include): List of paths to cmake files to guide compilation.
32
32
-[**compiler**](#compiler): A string giving the name of the target language compiler to use.
33
-
-[**compiler-flags**](#compiler-flags): An arrays of strings giving options to be passed to the target compiler.
34
33
-[**docker**](#docker): A boolean to generate a Dockerfile.
35
34
-[**external-runtime-path**](#external-runtime-path): Specify a pre-compiled external runtime library located to link to instead of the default.
36
35
-[**export-dependency-graph**](#export-dependency-graph): To export the reaction dependency graph as a dot graph (for debugging).
@@ -646,7 +645,7 @@ Any errors in command-line arguments result in printing the above information. T
646
645
647
646
### Custom Command-Line Arguments
648
647
649
-
User-defined command-line arguments may be created by giving the main reactor [parameters](#using-parameters). Assigning the main reactor a parameter of type `string`, `number`, `boolean`, or `time` will add an argument with corresponding name and type to the generated program's command-line-interface. Custom arguments will also appear in the generated program's usage guide (from the `--help` option). If the generated program is executed with a value specified for a custom command-line argument, that value will override the default value for the corresponding parameter. Arguments typed `string`, `number`, and `boolean` are parsed in the expected way, but `time` arguments must be specified on the command line like the `--timeout` property as `'<duration> <units>'` (in quotes).
648
+
User-defined command-line arguments may be created by giving the main reactor [parameters](../writing-reactors/parameters-and-state-variables.mdx#parameter-declaration). Assigning the main reactor a parameter of type `string`, `number`, `boolean`, or `time` will add an argument with corresponding name and type to the generated program's command-line-interface. Custom arguments will also appear in the generated program's usage guide (from the `--help` option). If the generated program is executed with a value specified for a custom command-line argument, that value will override the default value for the corresponding parameter. Arguments typed `string`, `number`, and `boolean` are parsed in the expected way, but `time` arguments must be specified on the command line like the `--timeout` property as `'<duration> <units>'` (in quotes).
650
649
651
650
Note: Custom arguments may not have the same names as standard arguments like `timeout` or `keepalive`.
652
651
@@ -736,7 +735,7 @@ The generated C++ program understands the following command-line arguments, each
736
735
-`-w, --workers <n>`: Use n worker threads for executing reactions.
737
736
-`--help`: Print the above information.
738
737
739
-
If the main reactor declares parameters, these parameters will appear as additional CLI options that can be specified when invoking the binary (see [Using Parameters](#using-parameters)).
738
+
If the main reactor declares parameters, these parameters will appear as additional CLI options that can be specified when invoking the binary.
740
739
</ShowIf>
741
740
<ShowIfpy>
742
741
The Python target does not currently support any command-line arguments. You must specify properties as target parameters.
0 commit comments